SCJP 1.4<br />SCWCD 1.3
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Jay Ashar:
Yes, that's because it belongs to a particular class and not to its instance.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
Actually, that's cannot really be the full reason. There *are* languages (such as Smalltalk) in which class level methods are polymorphic, too. (In fact that is because in that language, classes *are objects*.)
Originally posted by Ken Blair:
Yes, but in Java static methods belong to the class rather than the instance.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
Jean was asking why can't we override a static method - implicitly, in Java. Jay was answering in the same context.[/QB]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
I guess I'd say it's correct but incomplete
The poster seemed to think so, anyway.
I suppose it's a matter of how deep and complete an answer is desired, and what level of complexity is considered appropriate for a given forum.
For a question posted in JiG Beginner, I favor keeping the answer as simple as possible, in hopes of not scaring beginners with too many complexities at once.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
My impression from your posts was that you were wanting to go somewhat further than that. If that's not the case, then oops, never mind.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
"I'm not back." - Bill Harding, Twister
Whatever you say buddy! And I believe this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|