wood burning stoves
The moose likes Java in General and the fly likes Why run time polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Why run time polymorphism" Watch "Why run time polymorphism" New topic

Why run time polymorphism

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Can anyone plz give a real example where runtime polmorphism will be useful?

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Well, if you mosey on over to The Campfire you'll find a few nice stories such as How my Dog learned Polymorphism - which, while isn't real life (really), does help to form a firm understanding of just what polymorphism is and can do.
Good Luck.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Take a look at the JDBC specification. The entire idea behind it takes advantage of runtime polymorphism!

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
I think the question should be post in binginner's forum.
SCJP Questions & Answers by Roseanne Zhang
I agree. Here's the link: http://aspose.com/file-tools
subject: Why run time polymorphism
jQuery in Action, 3rd edition