Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I'm not sure I understand the original question but I thought that indeed you could access protected data member from another package IF you are using Inheritance. It makes the data memeber in question "friendly" to the derived class. At least that is my understanding. -RWS > > > > class Alpha { > > > > import Greek.*; > > package Latin; > > class Delta extends Alpha { > > Q.How can i understand above thing? > >
Replies: |
Sponsored Links
|