Exam Details

Subject object oriented programming through java
Paper paper 2
Exam / Course m.sc. computers
Department
Organization rayalaseema university
Position
Exam Date December, 2017
City, State andhra pradesh, kurnool


Question Paper

M.Sc. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2017.
First Semester
Computer Science
Paper II OBJECT ORIENTED PROGRAMMING THROUGH JAVA
2 20912-AA
Time 3 Hours Max. Marks 70
SECTION — A
Answer any FIVE of the following. 6 30 Marks)
Each question carries 6 marks.
1. What is byte code? How does JVM help to implement the platform independence
nature?
2. What is constructor? Describe different types of constructors with syntax.
3. Illustrate arithmetic and Array Index Out Of Bound Exception with suitable
example.
4. What is meant by multi — threading? State and explain about different thread
states.
5. Briefly explain about siring tokenizer with example.
6. What is wrapper class? How to use Byte and integer classes.
7. What is local and remote applet? How do applets differ from the application
programs?
8. Write about different layout managers.

SECTION — B
Answer ONE question from each Unit. 10 40 Marks)
Each question carries 10 marks.
UNIT I
9. Explain method overloading and method over riding with example.
Or
10. What is the difference between final, finally and finalize keywords in JAVA?
What is use of super key word? Explain the implementation of super keyword
with Suitable example.
UNIT II
11. How to handle Exceptions in java? Describe different types of built in exceptions in
java.
Or
12. Write Java program to implement to set thread priorities.
UNIT III
13. Explain about Input and Output Stream class hierarchy with an example program.
Or
14. What are the advantages of collection framework? Explain about vector, Dictionary
and Hash table classes.
UNIT IV
15. Explain the Applet life cycle. "Applet class never declared as private". Why?
Develop an applet class that receives n number of values as input from the user
and display maximum and minimum number.
Or
16. Explain in detail about AWT event hierarchy and controls.
———————


Other Question Papers

Subjects

  • database management systems
  • object oriented programming through java
  • software engineering