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

Why doesn’t a servlet include main()?

559


How the JSP file will be executed on the Server side?

642


Explain the difference between generic servlet and http servlet?

539


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2079


How can we implement a jsp page?

627






Is tomcat a servlet container?

573


What are the functions of Servlet container?

607


What are all the protocols supported by httpservlet?

648


When to use doget() and when dopost()?

625


What is the process to implement doget and dopost methods?

544


What are the two important api's in for servlets?

588


How to get the path of servlet in the server?

534


Servlet is pure java object or not?

719


Explain jsessionid?

617


How do you deal property files in servlet?

600