what is the basic concept of inheritance?

Answer Posted / siva

if one class(called derived) acquires/inherits properties
of another class(base class) is called inheritance.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation and abstraction? How are they implemented in C++?

639


How do you explain polymorphism?

598


c++ program to swap the objects of two different classes

1767


What is the diamond problem in inheritance?

581


What is encapsulation oop?

581






Whats oop mean?

601


Is this job good for future? can do this job post grduate student?

1694


Is abstract thinking intelligence?

601


What is abstract class in oop?

538


How oops is better than procedural?

595


Can main method override?

588


What is overriding vs overloading?

590


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3559


What is persistence in oop?

677


What are the types of abstraction?

562