1.26 Basics of Object-oriented Programming
43. Distinguish between object-based programming and object-oriented programming.
44. What are the elements of OOP paradigm? Explain.
45. Explain inheritance and class hierarchy.
46. Distinguish the different types of inheritance.
47. Explain dynamic data binding.
48. Explain polymorphism in OOP paradigm.
49. Distinguish between overloading and overriding.
50. Explain generic programming features that are available in Java.
51. What is an abstract class? Why do we need abstract classes? What are the rules governing
virtual base class?
52. Explain the features of exceptions in an OOP language like Java.
Solutions to Objective Questions
(1) b (2) a (3) b (4) b (5) b (6) c (7) d (8) b (9) b (10) c (11) ...