Results 1 to 1 of 1
Thread: Polymorphism
- 03-29-2012, 10:35 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
Polymorphism
Hi,
I've been looking around for a concrete definition of polymorphism existing in Java. I know that one type of polymorphism comes in the form of over-riding and overloading methods. But for dynamic polymorphism - is it basically when a variable is declared as a superclass type which gives it the ability to take on any other types in the class hierarchy and then later on in the code type cast the variable as a desired subclass?
Any clarification is appreciated.
Thanks! :)
Similar Threads
-
Compile-time Polymorphism or Run-time Polymorphism ?
By dejulial in forum New To JavaReplies: 1Last Post: 03-06-2012, 08:14 PM -
How to use Polymorphism
By nfsmwbe in forum New To JavaReplies: 10Last Post: 01-16-2012, 03:15 PM -
Polymorphism - do you use it?
By N00Bie in forum New To JavaReplies: 10Last Post: 02-15-2011, 05:42 PM -
Polymorphism
By blug in forum New To JavaReplies: 3Last Post: 10-11-2010, 11:35 AM -
what's polymorphism?
By christina in forum New To JavaReplies: 2Last Post: 08-05-2007, 11:29 PM
Bookmarks