what is single inheritance?

Answer Posted / anjana

SINGLE INHERITANCE:
ONE BASE CLASS HAVING ONE DERIVED CLASS MEANS THAT IS CALLED SINGLE INHERITANCE.
EXAMPLE:
[A]------->BASE CLASS
|
V
[B]------->DERIVED CLASS

Is This Answer Correct ?    39 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the real life example of polymorphism?

605


can inline function declare in private part of class?

3653


Why is object oriented programming so hard?

610


What exactly is polymorphism?

598


What is polymorphism what are the different types of polymorphism?

557






What is ambiguity in inheritance?

620


What is oops concept with example?

574


What is encapsulation selenium?

552


What do you mean by overloading?

576


Why multiple inheritance is not possible?

594


What is interface? When and where is it used?

1660


What are the three main types of variables?

597


What are the important components of cohesion?

550


What is object-oriented programming? Webopedia definition

717


What is a function in oop?

626