Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d5a3f0d

Browse files
Merge pull request #1 from gavinfish/patch-1
Fix typo.
2 parents 0b66a46 + 3ff411d commit d5a3f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎01-default-static-interface-methods.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ default int remainder(int number, int divisor) {
156156

157157
## Multiple inheritance
158158

159-
A class can extend a single class but can implement multiple interfaces. Now that it is feasible to have method implementation in interfaces Java has multiple inheritance of behavior. Java already had multiple inheritance at type level but now it also has multiple inheritance at behavior level. There are three resolution rules that helps decide which method will be picked:
159+
A class can extend a single class but can implement multiple interfaces. Now that it is feasible to have method implementation in interfaces Java has multiple inheritance of behavior. Java already had multiple inheritance at type level but now it also has multiple inheritance at behavior level. There are three resolution rules that help decide which method will be picked:
160160

161161
**Rule 1: Methods declared in classes win over method defined in interfaces.**
162162

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /