protected is useful when you want your class and all derived (child) classes to be able to access the method or variable, but you don't want it to be public ...
確定! 回上一頁