fix typo misspelling of increment() (#20769)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user