Let\'s assume I have classes A, B, and C where class C has readable and writable properties:
public class
Java has 4 scopes: private, protected, public and "package". Something that is public can be accessed from anywhere. protected only from subclasses. private is only that class. "package" scope is not named, but if you omit any of the other three, it is assumed package scope. This is only accessible by other classes in the same package.
HTH.