|
-
Dec 31st, 2001, 04:47 PM
#7
Dazed Member
Private members are only available to the class which declared them. Public memebers are accessible everywhere, bolth in there classes package and in other packages where it's class is visible.
Protected memebers are accessible to classes of the same package and all subclasses of this class in any package that the class is visible. So you could declare you members protected then in the other package you could subclass that class with the protected memebers to get at them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|