This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Variable Polymorphism" Watch "Variable Polymorphism" New topic

Variable Polymorphism

Nupur Gupta
Ranch Hand

Joined: Aug 02, 2006
Posts: 45
I understand method polymorphism - it consists of overloading and overriding. What is member variable or instance polymorphism? Thanks in advance.
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...
I agree. Here's the link:
subject: Variable Polymorphism
It's not a secret anymore!