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
What is servlet attributes and their scope?
What is session tracking?
What is java servlet session?
What are some disadvantages of storing session state in cookies?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
If some new data has entered the database, explain how can a servlet refresh automatically?
What do you mean by web applications?
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!
What are the types of an http request?
Is it good idea to create servlet constructor?
What are the drawbacks of cgi?
What is the functionality of actionservlet and requestprocessor?
How forward () method is different from send redirect () method?
How can you run a servlet program?
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?