What is inheritance?

Answer Posted / senthilkumar

one object acquires the properties of the another object.


a class is existing the base class.


a class is derived from base class.

subclass access the function and data of the base class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is iterator a class or interface? What is its use?

531


Define Destructor?

542


Can I implement polymorphism using abstract class?

569


What is dynamic or run time polymorphism?

559


What is the function of pure virtual functions?

516






Can you create an instance of an abstract class?

563


Which oops concept is used as reuse mechanism?

2882


Can a function be overloaded based on return types?

536


Can we have a default method definition in the interface without specifying the keyword "default"?

534


What is static and dynamic Binding?

573


Define a good interface?

543


explain the difference between operator overloading and function overloading.

574


Explain about parametric polymorphism?

614


What is the practical implementation of inner classes?

523


What is the use of interface?

598