What is difference between polymorphism and inheritance?


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

Post New Answer

More OOPS Interview Questions

What is the point of oop?

0 Answers  


Is abstract thinking intelligence?

0 Answers  


Have you ever used threads?

3 Answers   Adobe, IBM,


Name a typical usage of polymorphism

3 Answers  


what is difference between objects and function

1 Answers  






What is the difference between a mixin and inheritance?

0 Answers  


can you give real time example for polymarphism

5 Answers   TCS,


what is data hiding.

3 Answers   Wipro,


what is the technical or oop name of object?

1 Answers  


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,


how does a main() in C++ is different from main() in C?

7 Answers  


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,


Categories