only final is permitted

在java语法里,方法定义里的形参以及方法体中的变量都是局部变量,不能使用访问权限修饰符public,private和protected

你可能感兴趣的:(only final is permitted)