Object Oriented Programming
Object Oriented Programming
6. a) What is an abstract class? How does it differ from a virtual base class? 2+5
Explain.
b) What is generic programming? How would you convert regular 2+6
classes into templates? Explain with an example.
7. Write short notes on (Any Two): 52
a) Friend function
b) Deferred methods
c) Hybrid inheritance
d) Abstraction