From 3ff411d3eac3d48ddecb835dda2d12da1c76e636 Mon Sep 17 00:00:00 2001 From: Jie Shen <1993sj1993@gmail.com> Date: Fri, 15 Jan 2016 22:31:09 +0800 Subject: [PATCH] Fix typo. --- 01-default-static-interface-methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-default-static-interface-methods.md b/01-default-static-interface-methods.md index 285a95e..b4a962a 100644 --- a/01-default-static-interface-methods.md +++ b/01-default-static-interface-methods.md @@ -156,7 +156,7 @@ default int remainder(int number, int divisor) { ## Multiple inheritance -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: +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: **Rule 1: Methods declared in classes win over method defined in interfaces.**