If one object is defined in one package and another object in another package the members of those objects (to be accessible) have to be "public". If both classes are stored in the same package they can have their default access rights, i.e. package scope (no keyword for this necessary).