A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
shadow and hide
Joined: Oct 31, 2003
Dec 31, 2003 03:38:00
I am confused by "shadow" and "hide".
As I know,"hide" and "override" will happen when we have variables and methods.
And shadow will only happen when we have variables.
Is it correct?
What is different from "shadow" and "hide"?
I agree. Here's the link:
subject: shadow and hide
Overriding the static method
variables inside the interface are by default public static final
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015