permaculture playing cards*
The moose likes Java in General and the fly likes Variable Polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Variable Polymorphism" Watch "Variable Polymorphism" New topic
Author

Variable Polymorphism

Nupur Gupta
Ranch Hand

Joined: Aug 02, 2006
Posts: 45
Hi,
I understand method polymorphism - it consists of overloading and overriding. What is member variable or instance polymorphism? Thanks in advance.
DG
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Never heard of em. Where did you find those terms? Google seems to tell me that "variable polymorphism" is something geneticists talk about.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Nupur Gupta
Ranch Hand

Joined: Aug 02, 2006
Posts: 45
Yes, I tried that google search to. Well, I was asked in an interview. I suppose I should rephrase it as class member polymorphism...
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Variable Polymorphism
 
Similar Threads
Method Overloading and overriding
Why no Polymorphism for instance variables
BufferedReader
PolyMorphisn
New to Java - Inheritance - polymorphism question