Java   View all facts   Glossary   Help
syntactic unit > keyword > access modifier
Next keywordboolean^3    Upkeyword    Previous keywordabstract   

access modifier comparison table
Subject mean that allow use when declare has definition modify is a kind of is an instance of
access modifier of an overriding method less access than the overridden method's access modifier allows    access modifier 
privatea member is only accessible to its class declaring members of an interfaceprivate methodA keyword that means a variable or method is only accessible within its class  access modifier
protected  declaring members of an interfaceprotected methodA keyword that indicates that a method or variable may be accessed by any object in the same class (and its subclasses including those in a different compilation unit in another package), by all objects in the same compilation unit, and by all objects in the same package  access modifier
public   a public class, public method or public variableA keyword that indicates that a method, class or variable may be accessed by any objectmethods, classes, and variables access modifier

Next keywordboolean^3    Upkeyword    Previous keywordabstract