An inner class is a nested class that is not explicitly or implicitly declared static
Well, technically speaking, the term should be shadowing.
JLS 2Ed 8.3 pp153-154
If a class declares a field with a certain name , then the declaration of that field is said to hide any and all accessible declarations of fields with the same name in super classes,and superinterfaces of the class
JLS 2Ed 6.3.1 p86.
A declaration d of a type named n shadows the declarations of any other types named n that are in scope at the point where d occures throughout the scope of d
Is variable s1 in class B hiding s1 in class A
when you extend a class are you inheriting all non-private members
how's the procedure to figure this out..