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 are the 3 principles of oop?

714


What do you mean by overloading?

680


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2912


What is multilevel inheritance?

828


What is polymorphism give a real life example?

640






What is a class oop?

679


Why is static class not inherited?

693


What is object in oop?

782


How do you achieve polymorphism?

719


write string class as your own class in java without using any built-in function

2064


What is polymorphism and types?

681


Where You Can Use Interface in your Project

1506


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6584


What is inheritance in oop?

684


What is the full form of oops?

786