Public
Class data is visible to all in the program. Used for certain Methods and Enums
Protected
Classâ data is visible to only derived classes This should be used most of the time.
Private
Classâ data is only visible to itself. Would not be visible in derived classes aswell.
Package-Private
Member is only accessible from any class in the package it is declared in. This is the default