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

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-12-20
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
猜你喜欢
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
相关资源
相似解决方案