Its not possible to access a protected instance variable in another package using the upreclass object. For e.g in the foll code line 3 gives Compiler ERROR. But why do not the lines 2 and 3 give any compiler error
Simran Dass wrote:Its not possible to access a protected instance variable in another package using the upreclass object. But why do not the lines 2 and 3 give any compiler error[/color]
But why do not the lines 2 and 3 give any compiler error