can u give some realtime example in ploymorphism? and
inheritance?

Answer Posted / nazneen

Polymorphism applies to Overriding
Inheritance applies to Reusability of code defined earlier in one Class and later on used by Other Classes..

Is This Answer Correct ?    14 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the architechure of a servlet?

602


What do you mean by web applications?

625


Explain get and post.

649


Explain Action Servlet?

621


What are the supporting protocol by HttpServlet ?

654






What is the element?

585


Whats the advantages using servlets over using CGI?

584


What is a web container and what is its responsibility?

527


What is cgi and what are its drawbacks?

549


What is the difference between genericservlet and httpservlet

584


Write a simple servlet program to print the contents of html.

547


What are the objects involved when a servlet receives a call from client?

545


What's the servlet interface?

595


Why is a constructor needed in a servlet even if we use the init method?

602


What is servlet and its advantages?

521