oops_important qns.docx
oops_important qns.docx
Module 1
1 Mark Questions
3 Marks Questions
10. Explain the use of try, catch, and finally in exception handling.
6 Marks Questions
1. Explain the features of JAVA and how they contribute to its popularity.
2. Describe the process of defining a class, declaring attributes, and defining methods in
JAVA. Provide an example.
4. Discuss the concept of static variables, constants, and methods in JAVA with
examples.
7. Explain how arrays of objects are created and used in JAVA with an example.
8. Discuss exception handling in JAVA. Explain the use of try, catch, multiple catch,
and finally with examples.
9. Compare and contrast the tools available for JAVA programming (JDK, JAVA
Packages, and IDEs like NetBeans and Eclipse).
10. Explain the process of building a JAVA application, including the roles of JDK,
JAVA Packages, and IDEs.
Module 2
1 Mark Questions
3 Marks Questions
3. How do you call a superclass constructor and methods in Java? Provide an example.
5. What are final variables, final methods, and final classes in Java?
6 Marks Questions
1. Explain the concept of inheritance in Java. Discuss the types of inheritance with
examples.
2. What is the difference between a superclass and a subclass? How do you call a
superclass constructor and methods? Provide an example.
3. Compare and contrast method overloading and method overriding in Java with
examples.
4. Explain the concept of final variables, final methods, and final classes in Java. Why
are they used?
5. What are abstract methods and abstract classes? How are they different from concrete
methods and classes? Provide an example.
9. Explain the concept of packages in Java. How do you create and access packages?
10. Discuss the role of interfaces and abstract classes in achieving abstraction and
polymorphism in Java.