Type name is discouraged. By convention, Java type names usually start with an uppercase letter

在Eclipse中添加类的时候,提示如下信息: Type name is discouraged. By convention, Java type names usually start with an uppercase letter 如下图: 原因是输入的类名“Name”首字母没有大写,把首字母改为大写的就好了。
相关文章
相关标签/搜索