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

时间:2015-05-10 15:46:18   收藏:0   阅读:154

在Eclipse中添加类的时候,提示如下信息:
Type name is discouraged. By convention, Java type names usually start with an uppercase letter
如下图:
技术分享

原因是输入的类名“Name”首字母没有大写,把首字母改为大写的就好了。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!