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”首字母没有大写,把首字母改为大写的就好了。

文章来自:http://blog.csdn.net/testcs_dn/article/details/45620955
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3