What is polymorphism and why is it important?


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

Post New Answer

More OOPS Interview Questions

What is the difference between the C & C++?

9 Answers   HCL,


What is overloading in oops?

0 Answers  


WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET

1 Answers  


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


what is the use of mutable key word

3 Answers   HCL,






difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help

1 Answers  


What is multilevel inheritance explain with example?

0 Answers  


How is polymorphism achieved?

0 Answers  


what is pointers

7 Answers   Exilant,


What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

4 Answers   Accenture, L&T,


Please tell me the oops concept with detailed answer

9 Answers   EEE,


What is solid in oops?

0 Answers  


Categories