PRIVATE

DEFAULT

PROTECTED

PUBLIC

Same Class

 

 

 

 

Same Package Subclass

 

 

 

 

Same Package non-subclass

 

 

 

 

Different Package subclass

 

 

 

 

Different Package non subclass