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?

1065


What do you mean by the servlet chaining?

1087


What is the difference between servlet and jsp?

1122


What is the use of httpservletrequestwrapper?

1104


What is the functionality of actionservlet and requestprocessor?

1096


What is a servlet context?

1172


What is cookie? Why is cookie used?

1060


Which HTTP method is non-idempotent?

1140


What is webservlet?

1000


Why session tracking is needed?

1035


What are the key methods that are involved in processing of http servlets?

1114


What are the types of servlets? Explain

1269


What are the steps involved in placing a servlet within a package?

1080


What are the different types of servlets?

1015


How can we upload the file to the server using servlet?

1091