• public 所有可见
    • private 仅对本类可见
    • protected 本包和子类可见
    • default 本包可见(没有修饰符)