There is never a case where an access modifier can be applied to a local variable. In fact, there is only one modifier that can ever be applied to local
variables—final.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7899089/viewspace-623460/
,如需转载,请注明出处,否则将追究法律责任。