What is advantage of inheritance?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is difference between polymorphism and inheritance?

0 Answers  


what is use to destroy an object? illustrate.

5 Answers   TCS,


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,


Why do we use polymorphism?

0 Answers  






What does <> mean pseudocode?

0 Answers  


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

0 Answers  


Which method cannot be overridden?

0 Answers  


Is this job good for future? can do this job post grduate student?

0 Answers  


Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)

4 Answers  


What is the purpose of polymorphism?

0 Answers  


what is the difference between a package and a software?

3 Answers  


Categories