当前位置: 代码迷 >> J2SE >> string cannot be resolved to a type,该怎么处理
  详细解决方案

string cannot be resolved to a type,该怎么处理

热度:88   发布时间:2016-04-24 00:54:07.0
string cannot be resolved to a type
各位高手前辈们,小弟用的MyEcplise开发工具,声明一个string类型的变量系统说的string cannot be resolved to a type,这是怎么回事啊!string就是不能用报红错...其他double ,float,int都正常,请高手们为小弟解答下!万分感谢!

------解决方案--------------------
你写的string 还是 String ?
------解决方案--------------------
java的类型定义 大小写敏感 楼主不知道?也就是说不能写错
------解决方案--------------------
探讨
小写string是可以定义的啊!语法上规定了的啊!string abc = "";是合理的语法啊!怎么不能定义啊?
  相关解决方案