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 / dharmaraj

As i dont know these is correct answer but my knowledge is ok.

METHOD OVERLOADING: In one women got many children
(same method name but different parameter).

METHOD OVERRIDING: In women married in two different persons.
(one method two override the another method)

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet attributes and their scope?

1021


What is session tracking?

1169


What is java servlet session?

938


What are some disadvantages of storing session state in cookies?

989


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

1195


If some new data has entered the database, explain how can a servlet refresh automatically?

1262


What do you mean by web applications?

1152


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

2298


What are the types of an http request?

1112


Is it good idea to create servlet constructor?

1220


What are the drawbacks of cgi?

984


What is the functionality of actionservlet and requestprocessor?

1056


How forward () method is different from send redirect () method?

939


How can you run a servlet program?

1055


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2664