Don’t shadow. You will just end up confusing yourself and the people who read your code. It is silly as calling two of your sons Jim. The only reason shadowing is permitted at all is to allow you to write a subclass without access to the source code for the superclass, to forgive you accidentally reusing a field name.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/shadow.html | J:\mindprod\jgloss\shadow.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.101] | |
| Feedback | You are visitor number 14,972. | |