Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why run time polymorphism

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone plz give a real example where runtime polmorphism will be useful?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the JDBC specification. The entire idea behind it takes advantage of runtime polymorphism!
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the question should be post in binginner's forum.
SCJP Questions & Answers by Roseanne Zhang
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic