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

Java基础(二) - 名山小奏 #15

Open
ambitiousCC opened this issue Oct 17, 2019 · 1 comment
Open

Java基础(二) - 名山小奏 #15

ambitiousCC opened this issue Oct 17, 2019 · 1 comment

Comments

@ambitiousCC
Copy link
Owner

https://ambitiouscc.github.io/2019/10/08/Java%E5%9F%BA%E7%A1%80-%E4%BA%8C/

发现问题
对对象的调用需要在main方法中,=,=#不知道为啥这个坑掉进去这么多次了

使用super,父类的变量用protected关键字修饰
继承概念
父类与子类之间建立的关系

子类拥有父类的,

@ambitiousCC
Copy link
Owner Author

求带飞:yum:

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

No branches or pull requests

1 participant