Learning Java in the school, the access modifier has been stuck in public is publicly available, accessible outside, protected is visible to the child, external is not accessible, private is only visible in this class. After work, the access to the Java code is much, the understanding is not the same. Public, is the interface, protected is used to give others inherited, call back more, private internal operations, the results of the operation through the public method feedback. In the Android development often to overwrite the parent class method, in eclipse can not be rewritten, there are very convenient tools to greatly reduce the workload.
Step one: Source > Override/implement Methods
Step two: One can select multiple methods, overwrite or implement as needed
Previous article, Eclipse Usage and tricks 16: Auto Add not implemented Method 2:
http://blog.csdn.net/ts1122/article/details/9116291
Next article, Eclipse usage and tip 18: Reduce unnecessary input:
http://blog.csdn.net/ts1122/article/details/9210135
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse Usage and Tricks 17: Overriding the parent class method