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

write a program to find 2 power of a 5digit number with out using big int and exponent ?

1887


What is oops concept with example?

572


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

936


What is abstraction oop?

616


What is overriding vs overloading?

579






What is byval and byref? What are differences between them?

1682


What does and I oop mean in text?

615


When not to use object oriented programming?

563


What is encapsulation in oops?

531


What is an interface in oop?

589


What is abstraction example?

612


Are polymorphisms mutations?

691


What does sksksk mean in text slang?

1514


write a program to find 2^n+1 ?

1540


What is variable example?

591