您的位置:首页 > 编程语言 > Java开发

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

2015-05-10 14:55 821 查看
在Eclipse中添加类的时候,提示如下信息:

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

如下图:



原因是输入的类名“Name”首字母没有大写,把首字母改为大写的就好了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐