New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java的继承与实现一章中代码举例的建议 #175
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
为了解释继承与实现的区别,举例如下:
“class Car extends Benz implements GasolineCar, ElectroCar 定义一辆汽车,他实现了电动车和汽油车两个标准,但是他属于奔驰这个品牌。”
我觉得改为“class Benz extends Car implements GasolineCar, ElectroCar 定义一辆奔驰牌汽车,他实现了电动车和汽油车两个标准,但是他属于汽车这个抽象类。”更为贴切
The text was updated successfully, but these errors were encountered: