MCA MAGADH UNIVERSITY QUESTION (2015-2018) OOP WITH JAVA
MCA MAGADH UNIVERSITY QUESTION (2015-2018) OOP WITH JAVA
2015-2018
Full Marks: 80
Time: 4 hours
The questions are of equal value
Answer any five questions
1. Why is Java known as platform - neutral language? How is Java more secured than other language?
2. What is the difference between multiprocessing and multithreading? What is to be done to implement these in a program?
3. What is the difference between suspending and stopping a thread? How do we set priorities for threads?
4. What is exception? How do we define a try and catch block?
5. What is applet? Explain local and remote applet.
6. What is method overloading? Explain with the help of a program.
7. What are constructors used for? Can constructors be overloaded? Write a program in support of your answer.
8. What is inheritance? How is it different from aggregation?
9. What is interface? How is it different from an abstract class?
10. Write short notes on any four of the following:
(a) Garbage collector
(b) Static variable
(c) synchronisation
(d) This keyword
(e) Instance variable
(f) Super keyword.
Comments
Post a Comment