初学者检查不出问题!
public class Hello{
public static void main (String args[])
{
System.out.printIn("你好,很高兴学习JAVA");
}
}
运行后显示有1个错(在out后"."下做了标记)
把printIn改为println
倒数第二个字母是“l”,lmn中的“l”,不是大写的i
[[i] 本帖最后由 syg5434 于 2010-9-8 18:23 编辑 [/i]] 把大写字母“i”改为数字1,还是显示同样的错误提示
如果你第二个分号,是中文状态下输入,那还得出错! 是没分清小写字母“L”数字“1”, 仔细看区别,慢点看别急
[quote]System.out.[color=#FF0000]printIn[/color]("你好,很高兴学习JAVA");[/quote]
System.out.[color=#FF0000]println[/color]("你好,很高兴学习JAVA") ; 对啦是 System.out.println("你好,很高兴学习JAVA"); 这个好像是一本书上的例题吧 System.out.println("fdhd");
页:
[1]