A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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"?
It is sorta covered in the
JavaRanch Style Guide
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