ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Nested Classes, Part 1
Subject:   Accessing Protected Members
Date:   2004-05-18 14:33:35
From:   Robert Simmons Jr. (Kraythe)
Response to: Accessing Protected Members

That is because protected members of a class are accessible to classes in the same package. I suppose I should have said that the other class needs to be in another package to be more clear.


I appreciate the feedback.


1 to 1 of 1
  1. Accessing Protected Members
    2004-05-18 21:28:10  bdell [View]

1 to 1 of 1