Skip to content

Commit 57d942c

Browse files
authored
Merge pull request astaxie#915 from nayzawoo/patch-2
Update 0.2.5.md.
2 parents 82853c2 + c295e96 commit 57d942c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/02.5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func main() {
270270
mark.SayHi()
271271
}
272272
```
273-
### Method overload
273+
### Method Overriding
274274

275275
If we want Employee to have its own method `SayHi`, we can define a method that has the same name in Employee, and it will hide `SayHi` in Human when we call it.
276276
```Go

0 commit comments

Comments
 (0)