| 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 )
|
 |
 |
|
|
subject: Usage of Polymorphism feature in a project
|
|
|