■ You cannot
put this visibility modifier on a class.
(Except on inner classes) It allows
access from within its class plus from any inner classes.
■ You cannot access anything in a private superclass from its subclasses.
■ private can appear on just on a method, a variable, a constructor, or a named inner class.
■ You cannot put private on an interface.
■ Instance methods in objects have access to all instance variables in all other objects instantiated from the same class even if they’re private.
■ Note: Methods in subclasses do not have
access to private
static or instance variables declared in the superclass.