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

Answer Posted / walkinglegendteja

Inheritance is a concept which involves the concept of re
usability Ex:Bank Accounts-->SB Account,RD Account,CD Account
Polymorphism concept of one existing in many forms
Ex:In Graphical User interfaces,AWT

Is This Answer Correct ?    26 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of httpservletresponsewrapper?

619


What is the purpose of inter-servlet communication?

679


Who is responsible to create the object of servlet?

810


How we can get ip address of client in servlet?

630


How do you define a servlet?

621






When servlet object is created?

690


Why are servlets used?

608


request parameter how to find whether a parameter exists in the request object?

666


How to get the IP address of client in servlet?

717


What is a web container and what is its responsibility?

607


What exception should be thrown when servlet is not properly initialized?

647


Why are http servlets used in programming?

632


What are the different mode that servlets can be used?

644


What are the types of Session Tracking ?

728


Tell the new features added in servletrequest interface i.e. Servlet 2.4

666