這個哪里有問題求指點
public?class?HelloWorld?{ ????public?static?void?main(String[]?args)?{ String?Hobby="imooc"; System.out.println("imooc"+hobby); } }
public?class?HelloWorld?{ ????public?static?void?main(String[]?args)?{ String?Hobby="imooc"; System.out.println("imooc"+hobby); } }
2017-02-21
舉報
2017-02-21
2017-02-21
變量名寫錯了,要區(qū)分大小寫
2017-02-21
打印出的內(nèi)容中“hobby”和 變量名“Hobby”沒有區(qū)分大小寫
2017-02-21
public?class?HelloWorld?{
????public?static?void?main(String[]?args)?{
????String?hobby="imooc";
????????System.out.println("imooc"+hobby);
????}
}
Hobby 大小寫區(qū)分
2017-02-21
System.out.println("imooc"+Hobby)