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

Explain in brief the directory structure of a web application?

562


What is a cookie What is the difference between session and cookie

590


What are the ways to handle multi-threading in servlets?

585


How servlets are deployed in java?

540


What's the use of servletcontext?

671






What is a servlet engine?

540


What is servlet used for?

686


Can you explain in detail 'javax.servlet' package?

537


What is a servlet context?

593


Explain web application directory arrangement?

580


If servlet receives multiple requests, how many objects will it create?

819


What is getservletcontext?

542


What are important features of Servlet 3?

584


Explain their methods? Tell me their parameter names also have you used threads in servlet?

574


What is the element?

583