what is single inheritance?
Answers were Sorted based on User's Feedback
Answer / saurav deep
WHEN A CLASS (CALLED DERIVED CLASS) IS BEING DERIVED BY A
SINGLE CLASS(CALLED BASE CLASS) IS CALLED SINGLE
INHERITANCE.......
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / yuvaraajaa
The derived class has only one base class its called a
single inheritance
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shanthan
which has one base class and one derived class. this inheritance is called single inheritance
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abi
A COMMON FORM OF INHERITANCE
CLASS HAVE ONLY ONE BASE CLASS
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abhilash
when the one class is derived the properties of another
class is known as single inhritance.child class derived the
properties of parent class.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dom wadegu
is when a subclass is derived fully from one superclass.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / rishika
it is the process of creating new classes from an existing base class
Is This Answer Correct ? | 0 Yes | 1 No |
What is destructor in oop?
What is virtual Function.
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
what's the basic's in dot net
How do you achieve polymorphism?
which is platform independent device used in computers
Why is polymorphism needed?
Can destructor be overloaded?
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
Write a program in c++ to read two floating point numbers and find their sum and average.
swapping program does not use third variable