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
What type of loop is a for loop?
can inline function declare in private part of class?
what is the drawback of classical methods in oops?
What is destructor oops?
What is difference between pop and oop?
What is difference between multiple inheritance and multilevel inheritance?
Why do we use inheritance?
Can we have inheritance without polymorphism?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is the oops and benefits of oops programming?
What is object and example?
What is the point of oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
officer say me - i am offered to a smoking , then what can you say
What is coupling in oops?