Forums Register Login

Variable Polymorphism

+Pie Number of slices to send: Send
Hi,
I understand method polymorphism - it consists of overloading and overriding. What is member variable or instance polymorphism? Thanks in advance.
DG
+Pie Number of slices to send: Send
Never heard of em. Where did you find those terms? Google seems to tell me that "variable polymorphism" is something geneticists talk about.
+Pie Number of slices to send: Send
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
You don't like waffles? Well, do you like this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1387 times.
Similar Threads
BufferedReader
Why no Polymorphism for instance variables
New to Java - Inheritance - polymorphism question
Method Overloading and overriding
PolyMorphisn
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:29:07.