Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Usage of Polymorphism  feature in a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Usage of Polymorphism  feature in a project" Watch "Usage of Polymorphism  feature in a project" New topic
Author

Usage of Polymorphism feature in a project

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

This is a discussion about making usage of Polymorphism feature in a java project .

Polymorphism is the feature that allows one interface to be used for general class actions.


By these i know that , if there is a one interface and there can be many implementation classes for it and depending upon the Object type instaniation the particular behaviour will be invoked .

But can you please tell me where actually or any scenario these will be useful in a project .



Thanks for reading and please share your ideas .


Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

JDBC drivers.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I always used only Thin Driver in my every project . Can you please elobrate the answer you shared .
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

What do you use when you connect to DB2? Or Sybase? Or MySQL?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I need to write a DAO Layer ( I mean a interface and a number of implementation classes )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Usage of Polymorphism feature in a project
 
Similar Threads
Overriding rules... Please confirm!
Jaworski mock - an example of polymorphism (overriding or overloading?)
Having Interface on the left and Class on the right side
Whether Overloading is a way to implement Polymorphism?
Polymorphism