static final 还是 final static

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

例如:public static final

 

上一篇:【Java基础复习3】- final、static等关键字


下一篇:关闭对象连接