Skip to content
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

关于 多重继承 209.md #101

Open
lambdaplus opened this issue May 7, 2016 · 0 comments
Open

关于 多重继承 209.md #101

lambdaplus opened this issue May 7, 2016 · 0 comments

Comments

@lambdaplus
Copy link
Contributor

由上述两个实例,已经清楚看到了继承的特点,即将父类的方法和属性全部承接到子类中;如果子类重写了父类的方法,就使用子类的该方法,父类的被遮盖。


这句 即将父类的方法和属性全部承接到子类中承接是否可以用更恰当的词来替换掉呢? 承接应该是子类对父类的承接。


是否可以改成 即子类承接父类的全部方法和属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant