Answer Posted / alameen
In "single inheritance," a common form of inheritance,
classes have only one base class. Consider the relationship
illustrated in the following figure.
Simple Single-Inheritance Graph
Note the progression from general to specific in the
figure. Another common attribute found in the design of
most class hierarchies is that the derived class has
a "kind of" relationship with the base class. In the
figure, a Book is a kind of a PrintedDocument, and a
PaperbackBook is a kind of a book.
One other item of note in the figure: Book is both a
derived class (from PrintedDocument) and a base class
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is ambiguity in inheritance?
How to call a non virtual function in the derived class by using base class pointer
What is the purpose of polymorphism?
What is the full form of oops?
Why is abstraction needed?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is overloading in oops?
State what is encapsulation and friend function?
What is the fundamental idea of oop?
What are different oops concepts?
What are main features of oop?
What is object-oriented programming? Webopedia definition
Templates mean