1(a)
Explain Java Virtual Machine.
5 M
1(b)
Write a program to display 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 overloding and overriding. Write a program to override area ( ) method of Shape class into its subclasses Rectangle and Square. Shape is an abstract class.
10 M
3(a)
Explain different types of relationships among the entities. Define the relationships among the objects of given sentences:
1) Manager is an Employee.
2) Teacher teaches OOPM subject to students.
3) Merry owns a car.
4) Engine is a parts of car.
1) Manager is an Employee.
2) Teacher teaches OOPM subject to students.
3) Merry owns a car.
4) Engine is a parts 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 display
!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 the department.
8 M
5(c)
Differentiate between String and StringBuffer class.
5 M
6(a)
Explain inheritance and its types in JAVA.
5 M
6(b)
Explain wrapper class.
5 M
6(c)
Write a program to display sum of main diagonal elements of a matrix.
5 M
6(d)
Explain Applet lifecycle methods.
5 M
More question papers from Object Oriented Programming Methodology