Unit-2 QB (Oops)
Unit-2 QB (Oops)
PART-A
1. Define method overloading.
2. Define object as parameter
3. Define Inner class. What are the four types of inner class?
4. Define returning objects.
5. State the difference between inner class and anonymous class. Nov 2011
6. What are the advantages of inner class?
7. Define Static Nested class and Inner classes.
8. Define Inheritance. or Define Extended class. Nov 2018 Nov 2023
9. What is Is-A relationship in Java?
10. What are the advantages of inheritance?
11. Enlist various forms of inheritance.
12. Explain the use of extend keyword.
13. What is the concept of super class and sub class in inheritance?
14. Define Multilevel inheritance
15. Define Single inheritance.
16. Define Hierarchical Inheritance
17. Why is multiple inheritance using classes a disadvantage in Java?
18. Define Multiple inheritance.
19. Define Hybrid inheritance.
20. Differentiate between inheritance and polymorphism.
21. Define Keyword super. What is the use of super keyword? May 2021
22. What is meant by method overriding? Nov 2013
23. What are the rules / conditions to be followed for method overriding? Apr 2019
24. Define Dynamic method dispatch. How dynamic method resolution is achieved in java. Apr 2023 How
Dynamic method resolution is achieved in java? Apr 2023
25. What is abstract class?
26. Can an abstract class be final? Why? Nov 2010
27. Can an abstract class in Java be instantiated? Give the reason. Nov 2013 When a class must be declared as
abstract. Nov 2022
28. Difference abstract class and Concrete class.
29. What is the purpose of 'final' keyword? Nov 2011, 2012 What is the use of final keyword? Apr 2023
30. What is final variable?
31. What is final class?
32. What is final method?
33. Define package. May 2017
34. What is the purpose of package?
35. Mention the necessity for import statement in package. Apr 2012
36. Define Class path? May 2011, May 2012
37. Define interface. State its use. My 2011, May 2012, Dec 2012, May 2015, Nov 2019
38. What are the member accesses in package?
39. Write the syntax of interface.
40. What modifiers may be used with in interface declaration?
41. What is the difference between an interface and an abstract class? Dec 2012
42. How to implementing interface?
43. Compare class and Interface.
44. How to extending interface?
PART-B