File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!