Exam Details

Subject object oriented programming through java
Paper
Exam / Course mca
Department
Organization rayalaseema university
Position
Exam Date May, 2018
City, State andhra pradesh, kurnool


Question Paper

M.C.A. DEGREE EXAMINATION, APRIL/MAY 2018.
Second Semester
Paper I OBJECT ORIENTED PROGRAMMING THROUGH JAVA
2 90221 AA
Time 3 Hours Max. Marks 70
SECTION — A
Answer any FIVE questions. 6 30 Marks)
1. Write about JDK, JRE and JVM.
2. What is visibility modifier? Explain all with example.
3. Write a program that illustrates interface inheritance. Interface A is extended by
A1 and A12. Interface A12 inherits from both P1 and P2. Each interface declares
one constant and one method. Class B implements A12. Instantiate B and invoke
each of its methods. Each method displays one of the constants.
4. What is constructor? What are the rules for creating constructor injava?
5. Explain thread Synchronization with join() and isAlive() methods.
6. Compare String with StringBuffer class.
7. Describe applet life cycle and differentiate applet and application programs.
8. Name three types of layout managers and briefly explain their operations.
SECTION — B
Answer ALL questions. 10 40 Marks)
UNIT-I
9. Explain following with example:
this
static
super
final
finalize
Or
10. Explain method overriding and method overloading with the help of examples.

UNIT II
11. Explain the importance of exception handling in java. Which key words are used to
handle exceptions? Write a program to explain the use of these keywords.
Or
12. What is package? Explain steps to create package with example.
UNIT III
13. What is collection in Java? Differentiate between Vector arid ArrayList.
Or
14. Discuss about different classes and interfaces in I/O streams.
UNIT IV
15. Write a java application that has three Buttons labeled Red, Green, Blue on
clicking the background color should change accordingly have a label displaying
the color selected.
Or
16. Explain about event listener interfaces and event classes.
———————


Other Question Papers

Subjects

  • big data analytics
  • cloud computing
  • database management systems
  • financial accounting
  • information security
  • object oriented programming through java
  • operating systems
  • programming methodology in c
  • python programming
  • r programming
  • software testing