This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes shadow and hide Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "shadow and hide" Watch "shadow and hide" New topic
Author

shadow and hide

WY Hsiao
Greenhorn

Joined: Oct 31, 2003
Posts: 4
Hi,all
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: http://aspose.com/file-tools
 
subject: shadow and hide
 
Similar Threads
Shadow variables/references
Serialization
Overriding the static method
variables inside the interface are by default public static final
enum question