1(a)
Explain JAVA Virtual Machine.
5 M
1(b)
Write a program to diplay factorial of given number. Take input from command line arguments.
5 M
1(c)
Explain System. Arraycopy () method with example.
5 M
1(d)
Explain Thread life cycle.
5 M
2(a)
Explain different ways to create Thread in JAVA with example.
10 M
2(b)
Differentiate between method overloading and overriding. Write a program to override area () method of Shape class into its subclasses Reactangle and Square. Shape is an abstract class.
10 M
3(a)
Explain different types of relationships among the entities. Define the relationships among the object of given sentences:
i) Manager is an Employee
2) Teacher teaches OOPM subject to students.
3) Merry owns a car.
4) Engine is a part of car.
i) Manager is an Employee
2) Teacher teaches OOPM subject to students.
3) Merry owns a car.
4) Engine is a part of car.
10 M
3(b)
Explain the steps to create package in JAVA to add class and interface with example.
10 M
4(a)
Explain bitwise operators in JAVA.
4 M
4(b)
Explain use of final keyword when it is prefix with variable, method and class.
4 M
4(c)
Explain Cohesion and Coupling.
4 M
4(d)
Write an applet program to diplay
!mage
!mage
4 M
4(e)
What is abstract class? Explain with example.
4 M
5(a)
Explain exception handling mechanism with the help of try, catch, throw, throws and finally.
7 M
5(b)
Department of Computer Engineering wants to maintain record of books. If any new book is purchased then it is added to the list. Also if any book is damaged or misplaced it can be deleted from the list. Write a program to perform above operations and display list of books available in the department.
8 M
5(c)
Differentiate between String and String Buffer class.
5 M
6(a)
Explain inheritane and its types in JAVA.
5 M
6(b)
Explain wrapper class.
5 M
6(c)
Write a program to diplay sum of main diagonal elements of matrix.
5 M
6(d)
Explain Applet lifecycle methods.
5 M
More question papers from Object Oriented Programming Methodology