Java中关键字优先级

The Java Language Specification recommends listing modifiers in the following order:

1. Annotations

2. public

3. protected

4. private

5. abstract

6. static

7. final

8. transient

9. volatile

10. synchronized

11. native

12. strictfp

posted @ 2020-10-20 17:08  生命树gyh  阅读(149)  评论(0)    收藏  举报
© 2020 GitHub, Inc.