Methods, variables, constructors, and structures declared public can be accessed freely from outside the declaring class. A public class existing in a different package from an accessing class must be imported before it can be used. The following class makes use of the public access modifier:
public class Person { .. }