■ The four visibility modifiers are:
public
protected
private
the default of “package,” “same package,” or “friendly.”
■ Their order of decreasing visibility is: public (most visible) -> protected -> default/package -> private (leastt visible)
■ There is no
modifier keyword explicitly called “package”
- it's just the default situation.