码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2015-05-10 15:46:18      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:uppercase   names   start   convention   type   

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

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

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

标签:uppercase   names   start   convention   type   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45620955

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!