Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
22 views

Object Oriented Programming Using Java-2033-BCA

The document outlines an exam for a Java programming course, divided into three sections. Section A contains short answer questions, Section B longer answer questions, and Section C a single question worth 10 marks. Questions cover topics like Java features, classes, inheritance, strings, exceptions, threads and more.

Uploaded by

Manjunath K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Object Oriented Programming Using Java-2033-BCA

The document outlines an exam for a Java programming course, divided into three sections. Section A contains short answer questions, Section B longer answer questions, and Section C a single question worth 10 marks. Questions cover topics like Java features, classes, inheritance, strings, exceptions, threads and more.

Uploaded by

Manjunath K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

B.M.

S COLLEGE FOR WOMEN AUTONOMOUS


BENGALURU – 560004

END SEMESTER EXAMINATION – SEPTEMBER / OCTOBER 2022

B.C.A. - II Semester
Object Oriented Programming using Java

Course Code: BCA2DSC05 QP Code: 2033


Duration: 2 ½ Hours Max marks: 60
Instruction: Answer all the sections.

SECTION-A
Answer any TEN questions. Each question carries TWO marks (10x2=20)

1. JAVA is platform - independent Language. Justify.


2. What is difference between class and abstract class?
3. What are access modifiers in Java?
4. What is Java API?
5. Differentiate between Vector and array.
6. What are Wrapper classes in Java?
7. Explain any two mathematical functions of Math class.
8. What is the difference between String and Buffer class?
9. How are ‘this’ and ‘super’ keywords used?
10. What is System.in and System. Out in Java?
11. What is An Applet?
12. What are the stream classes available in Java?

SECTION-B

Answer any SIX questions. Each question carries FIVE Marks (6x5=30)

13. Explain features of JAVA.


14. Explain any five-string method with examples.
15. What is Constructor Overloading? Write a program to demonstrate the same.
16. Explain the types of inheritance with example.
17. What is package? How do you create and access a package?
18. Explain five method of Graphics class with an example for each.
19. Explain Life Cycle of an applet with neat diagram and Explain how parameters are
passed to an object.
20. Write a program to display all prime numbers between two limits.

1
SECTION-C

Answer ONE question, carries TEN Marks (1x10=10)

21. What is an exception? Explain exception handling with example.


22. Explain life cycle of a thread with neat diagram and Write program to implement thread
priorities.
23. Explain Static variable, Static methods ,final variable final method and class and
classes.

*****

You might also like