posted 14 years ago
Guys this is simple trying to do some working of access levels of member variables and method in regard to parent and child references.
Everything is clear except for protected access we cannot have a parent reference access the member variables if it is in another package why?
This does not work compile error due to parent reference
whereas this works??
Any reasoning?
SCJP, SCWCD, SCBCD, SCEA 5