Tell me real world example of polymorphism and encapsulation .

Answer Posted / dd

Real example of polymorohism--
Ur mobile phone..
one name but many forms..
as phone.
as camera
as mp3 player
as radio..

Is This Answer Correct ?    42 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is long data type?

473


Define graph traversals?

532


What is the difference between a stack and an array?

569


Why is data structure important?

528


Draw a binary Tree for the expression : A * B - (C + D) * (P / Q)

957






What is the order of selection sort?

447


What is difference between treeset hashset linkedhashset?

430


How efficient is binary search?

464


Can hashmap have same key?

460


Which is the parent class of deque class?

499


What are linked lists used for?

527


How helpful is abstract data type of data structures?

511


How would you reverse the characters of an array?

528


Explain pre-order and in-order tree traversal.

536


Are lists mutable?

495