OOP R 19 Question Bank
OOP R 19 Question Bank
14. What are the three principles of OOP? Explain how those achieved in Java.
INHERITANCE:
1. What is Inheritance? Explain with example how Java achieves it. List the
advantages.
10. What is an Abstract class? List the characteristics of it. Demonstrate with
example how to use abstract classes in Java.
11. What is the difference between concrete and non concrete method in Java.
1. What is a package? Explain the role of various modifiers used in Java with
respect to packages.
2. Explain access control mechanism in Java.
3. Demonstrate with example how to create, import and access a package.
4. Practice programs how to create packages for given classes and methods.
5. Define the term interface. What is the difference between classes and
interfaces?
6. Differentiate abstract classes and interfaces.
7. Is java supports multiple inheritance? If so how it is implemented it.
8. Demonstrate with an example how to use variables in interface.
9. Show an example how multiple inheritance is achieved using interfaces.
10.What is the procedure to define and implement an interface?
Demonstrate with an example.
EXCEPTION HANDLING:
COLLECTIONS FRAMEWORK:
EVENT HANDLING:
AWT:
SWINGS:
1. Design a GUI using Swing controls (buttons,labels,radio, checkbox,
textfields,combobox,list etc)
2. What are the differences between AWT and Swings?
3. List the advantages of Swings over AWT.
4. Create a JTable object to hold information of
Employee/Student/Product etc. and add a scrollpane to it.