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
如下图:
![](http://img.blog.csdn.net/20150510145416339)
原因是输入的类名“Name”首字母没有大写,把首字母改为大写的就好了。
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
- By convention, Java type names usually start with an uppercase letter
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java编译时出现 No enclosing instance of type Main is accessible. Must qualify the allocation with an encl
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java编译错误“No enclosing instance of type AA is accessible. Must qualify the allocation with an enclosing instance of type SimpleTh
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java编译错误“No enclosing instance of type AA is accessible. Must qualify the allocation with an enclosing instance of type SimpleTh
- Java 程序报错“No enclosing instance of type AA is accessible. Must qualify the allocation with an enclo”
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing