2011年8月2日 星期二

Java/Android's access modifier : protected

找了很多說明,還不如一句定義

http://en.wikibooks.org/wiki/Java_Programming/Keywords/protected


protected is a Java keyword.
This keyword is an access modifier, used before a method or other class member to signify that the method or variable can only be accessed by elements residing in its class, subclasses, or classes in the same package.

沒有留言:

張貼留言