Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

public class in java

//Public, protected and private are access modifiers. 
//Public means that the subject may be accessed by any class, protected by subclass, private by the class itself, no modifier means "package protected", so the subject may be accessed by classes from the same package.
public class Main {
	//Enter code here
}
 
PREVIOUS NEXT
Tagged: #public #class #java
ADD COMMENT
Topic
Name
1+2 =