instance variables
■ Can use any of the four access levels (which means they can be marked with
any of the three access modifiers)
■ Can be marked final
■ Can be marked transient
■ Cannot be marked abstract
■ Cannot be marked synchronized
■ Cannot be marked strictfp
■ Cannot be marked native
■ Cannot be marked static, because then they'd become class variables.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7899089/viewspace-623530/
,如需转载,请注明出处,否则将追究法律责任。