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 / ashish rathore

Inheritence is a process by which object of one class aquire
the property of any object of another class. it provides the
idea of reusearility.
this means the ability to take more than one form from
existing class without modifying it.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between server and servlet?

1092


How will you pass values from HTML page to the servlet?

1053


How do you invoke a servelt?

1126


How can you use a servlet to generate a plain text instead of html?

1132


Explain the difference between servlet and cgi?

1166


How the typical servlet code look like ?

1235


How does tomcat servlet container work?

1077


What exception should be thrown when servlet is not properly initialized?

1011


How can we include static files in the jsp page?

1063


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3395


What is the difference between encodeRedirectUrl and encodeURL?

1119


What methods do you use in servlet - applet communication?

1042


Can we use the constructor, instead of init(), to initialize servlet?

1099


What are the features added in Servlet 2.5?

1256


What are the important functions of filters?

1147