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

Update java.md #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions java/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
严格来说,不存在静态方法的重写,当一个子类继承父类时,写同样的方法时,只是将父类的静态方法隐藏。

## 6. 静态属性和静态方法是否可以被继承?是否可以被重写?为什么?
可以被继承,不能被重新,静态属性属于一个类而非一个对象。
## 7. 什么是内部类?内部类、静态内部类、局部内部类和匿名内部类的区别及作用?
## <span id="java_8">8. == 和 equals() 和 hashCode() 的区别?

Expand Down