Object Oriented Programming With Java - Question Bank
Object Oriented Programming With Java - Question Bank
MCA I Semester
Object Oriented Programming with JAVA
Unit wise Important Questions
Unit-1
1) What is need of Object Oriented Programming? How Object oriented Programming different
from procedural oriented programming?
2) Explain the following terms :
a) Agents
b) Responsibility
c) Messages
3) Explain classes and objects with example program.
4) What is a constructor? What are special characteristics of constructors? Explain default,
parameterized constructors with example program.
5) Explain constructor overloading with example program.
6) Explain method overloading with example program.
7) Explain following with examples:
a) this keyword
b) Garbage Collection
UNIT-2
1) What is an Exception? What are keywords used to handle exception? Explain briefly with
example program.
2) Explain multiple catch blocks with example program.
3) Explain the keyword throw with example program.
4) Explain user defined exceptions with example program.
5) What is Thread? What are differences between multithreading and multitasking and also
explain life cycle or different states of a thread.
6) Explain different ways of creating threads with example programs. ( Using Thread class and
Using Runnable interface)
7) Explain Thread Synchronization with example program.
UNIT – IV
UNIT – V
1) What is an applet? What are different types of applet? What are differences between
applets and standalone java programs?
2) Explain Life cycle methods of an applet with example program.
3) Explain passing parameters to applets.
4) What are differences between swings and AWT?
5) Explain the following Swings User Interface Controls :
a) Tabbed Pane
b) ScrollPane
c) Jtable