MCA MAGADH UNIVERSITY QUESTION (2017-2020) (Third semester) Object-Oriented Programming and Java
MCA MAGADH UNIVERSITY QUESTION (2017-2020) (Third semester) Object-Oriented Programming and Java
Time: 4 hoursFull Marks: 80
Answer any five questions
1. What is java? Discuss the features of java? Explain why java is platform independent . Also explain advantage of platform independence.
2. Define constructor. What are the characteristics of constructor? How are copy constructors and default constructors used in java? Explain with example.
3. What do you mean by method overloading? Point out the difference between overloading and overriding. Explain with example.
4. What are the abstract classes in java and how it is different from the interface?
5. What do you mean by Inheritance? Explain the types of Inheritance with example.
6. What is package? Explain the need of package, also explain different access rules for packages in java programming.
7. What is Applet? Discuss the life cycle of an applet? What do you mean by local and remote applet? Write an applet program to print UNIVERSITY?
8. What do you mean by run time error and compile time error? What are exceptions? Discuss how to handle exception in java with suitable examples.
9. What is the role of unthreading in java? write the process for creating thread in java.
10. Explain the following:
(a) JVM
(b) Operators
(c) Polymorphism
Comments
Post a Comment