Advertisement
KodingKid

Java Modifiers and what they do - Basic Scripting #37

Jul 8th, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. default; //automatic, unspecified modifier
  2. public; //accessible modifier for all
  3. private; //only accessible for declared class
  4. protected; //only accessible in the same package and subclass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement