*
The moose likes Beginning Java and the fly likes Shadowing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Shadowing?" Watch "Shadowing?" New topic
Author

Shadowing?

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
Can someone explain to me what is shadowing means in Java?
Thanks in advance
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
http://www.coderanch.com/t/388117/java/java/simple-overriding-static-method
http://www.coderanch.com/t/388332/java/java/Class-Variable-access

Also, if you do a search in the Programmer Certification Study on "shadow", you will come up with over 100 threads where this has been discussed.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Try reading The Games Objects Play from the JavaRanch Newsletter.
One of the games talks about shadowing .


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
Don't get me started about those stupid light bulbs.
 
subject: Shadowing?
 
Similar Threads
Variable shadowing
Odd NullPointerExceptions
Shadow variables
Overriding Khalid example
Static and Instance fields