For Object A to access method of object B, and the method has no modifier, Object A must be an instance of class which is ...
Same package as B
In different package
mark a default acess modifier to the class
None