fix typo misspelling of increment() (#20769)

This commit is contained in:
Trey
2018-11-01 04:21:21 -05:00
committed by Manish Giri
parent 2e92a63a69
commit 737739eb60

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