Tell me real world example of polymorphism and encapsulation .

Answer Posted / abhishek

real example is our eyes work seen the object in light, and
work not seen object in dark .

Is This Answer Correct ?    4 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary tree and binary search tree?

504


What is the difference between arraylist and linkedlist?

481


What is faster array or arraylist?

463


Describe linear probing with an example.

595


Which is better merge or quick sort?

550






How to create an Array?

553


Given M x N matrix with sorted elements row wise and column wise, find elements?

535


What are the main differences between the linked list and linear array?

524


What is heap tree explain with example?

500


Traverse the given tree using Inorder, Preorder and Postorder traversals. Inorder : D H B E A F C I G J Preorder: A B D H E C F G I J Postorder: H D E B F I J G C A

645


What is a binary search tree? Explain with example?

505


What are the advantages of linked list?

419


What is a tech stack?

456


Can arraylist contain null?

465


What are dynamic data structures?

651