what is the basic concept of inheritance?

Answer Posted / prashant

Inheritance is a concept where an object of one class
acquires the properties of another class.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in oops?

541


What do you mean by abstraction?

622


What is stream in oop?

843


Which language is pure oop?

553


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2172






What are constructors in oop?

598


What is abstraction example?

626


Why do we use polymorphism?

583


What is abstraction encapsulation?

663


how to get the oracle certification? send me the answer

1672


Why do pointers exist?

665


Why is there no multiple inheritance?

572


What is oops and why we use oops?

574


What is the main purpose of inheritance law?

675


What is inheritance write a program to show use of inheritance?

617