When I learned Java in school, the access permission modifier stays in public and can be accessed outside. Protected is visible to sub-classes and cannot be accessed outside; private is only visible in this class. After work, I came into contact with JavaCodeA little more, different understandings. Public is the interface. Protected is used to inherit from others. Multiple calls are returned. Private internal operations are performed, and the operation results are fed back through the public method. In Android development, parent classes are often overwritten. In eclipse, you do not need to rewrite them one by one. There are convenient tools to greatly reduce the workload.
Step 1: Source> override/implement methods
Step 2: You can select multiple methods at a time to overwrite or implement
PreviousArticle, Eclipse usage and tips 16: automatically add unimplemented Method 2:
Http://blog.csdn.net/ts1122/article/details/9116291
In the next article, eclipse usage and tips 18: reduce unnecessary input:
Http://blog.csdn.net/ts1122/article/details/9210135