Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can u give some realtime example in ploymorphism? and
inheritance?

Answer Posted / sai vamsi krishna

An Inheritance is to access the properties from super class to sub class.
example father to son sometmes the father has some diseases like sugar,BP those are attacking to son also.
poymorphism means many forms
example one person acts as many roles in his life a person works at company he is a employee at the same time he is a father of his son.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you run a servlet?

1056


What is servlet and list its types?

1055


What is webservlet?

991


What is the use of java servlet api?

1032


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1097


Where do you define dispatcherservlet?

1048


What is called Scriptlet?

1093


How do you deal property files in servlet?

1056


What is the use of send redirect () method?

1082


What is Servlets and explain the advantages of Servlet life cycle?

1099


Explain the differences between jsp and servlet.

988


Write a hello world program using servlets.

1055


Which are the different ways you can communicate between servlets?

995


How do I use cookies to store session state on the client?

964


Why the concept of single thread model interface is used?

990