為什么運行不了?
錯誤提示:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:?
Telephone cannot be resolved to a type
Telephone cannot be resolved to a type
at com.imooc.InitailTelephone.main(InitailTelephone.java:10)
錯誤提示:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:?
Telephone cannot be resolved to a type
Telephone cannot be resolved to a type
at com.imooc.InitailTelephone.main(InitailTelephone.java:10)
2016-09-19
舉報
2016-09-19
Telphone這個類是在哪里定義的? ?這個里面沒有引用Telphone這個類
2016-09-19
第十行應該是上面的語句。創建對象的格式: 類名? 對象名=new? 類名;
望采納,謝謝!