Skip to content

Commit 3ff411d

Browse files
committed
Fix typo.
1 parent 0b66a46 commit 3ff411d

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)