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

What is the difference between an interface and abstract class?

579


What is the difference between a class and an object?

530


Which keyword can be used for overloading?

571


What is hybrid inheritance?

565


What is polymorphism and abstraction?

605






Explain the abstract class modifier?

487


What are virtual functions, base class pointer, derived class pointer, biding references?

544


Explain basic concepts of OOPS?

517


What is the diffrence between an abstract class and interface?

609


What is a nested interface?

584


Define exceptions?

530


Write basic concepts of oops?

574


Explain persistence?

574


Do structs support inheritance?

532


How does abstraction differ from encapsulation.

570