Visibility Modifier Default : By defualt the class, data fields or variables and methods can accessed by any other class from the same package. Public :  class, data fields and methods are accessible to any class in any package Private : data fields and methods are accessible within declaring class Protected : A protected data or