明明跟老師打的一樣為什么不行,說不能實例化。
package com.imooc;
public class InitailTelephone {
?? ?public static void main(String[] args) {
?? ??? ?// TODO 自動生成的方法存根
?? ??? ?Telephone phone = new Telephone();這里說不能實例化類型Telephone。
?? ?}
}
package com.imooc;
public class InitailTelephone {
?? ?public static void main(String[] args) {
?? ??? ?// TODO 自動生成的方法存根
?? ??? ?Telephone phone = new Telephone();這里說不能實例化類型Telephone。
?? ?}
}
2020-07-09
舉報
2020-07-09
解決了,打錯字了