 public class Foo



This table defines where the access modifiers can be used.A constructor is a special method that is called automatically when an object is created.Its purpose is to initialize the members of the object.