fix typo misspelling of increment() (#20769)

pull/34137/head
Trey 2018-11-01 04:21:21 -05:00 committed by Manish Giri
parent 2e92a63a69
commit 737739eb60
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class MyClass {
}
// Outputs "2"
```
The output is 2 because it gets incremented by static method `increament()`. Similar to static variables, static methods can also be accessed using instance variables.
The output is 2 because it gets incremented by static method `increment()`. Similar to static variables, static methods can also be accessed using instance variables.
## Static Blocks