what is the basic concept of inheritance?

Answer Posted / walking legend

let us consider a real life example:
in a family we know that some of the parental
charecterstics gets to the new generstion.Similarly,in an
object oriented programming inheritance ia concept of
aquiring the members of the main base class to the derived
class.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is persistence in oop?

677


Get me a number puzzle game-program

1696


What is abstraction in oops with example?

779


What is coupling in oop?

603


What are oops functions?

590






How do you use inheritance in unity?

595


write a program to find 2^n+1 ?

1555


What is polymorphism what are the different types of polymorphism?

568


What is class and object in oops?

615


What is a function in oop?

635


What is constructor overloading in oop?

607


explain sub-type and sub class? atleast u have differ it into 4 points?

1840


Why do we use oops?

597


write a C++ program for booking using constructor and destructor.

2055


What does I oop mean?

618