关于set和get方法和老师写的代码一样,为什么就是运行不了,求大神指明错误?
第九行错误显示:the method setCore(int) is undefined for the type Car.
第十行错误显示:the method getCore(int) is undefined for the type Car.
第九行错误显示:the method setCore(int) is undefined for the type Car.
第十行错误显示:the method getCore(int) is undefined for the type Car.
2019-02-19
举报