fixed typos (#32588)

This commit is contained in:
Randy Janecek
2019-04-14 00:37:40 -04:00
committed by The Coding Aviator
parent 0313dfca04
commit bc84a7eb67

View File

@ -30,7 +30,7 @@ public class MyClass {
// Outputs "2"
```
The outout is 2, because the `COUNT` variable is static and gets incremented by one each time a new object of the Counter class is created. You can also access the static variable using any object of that class, such as `c1.COUNT`.
The output is 2, because the `COUNT` variable is static and gets incremented by one each time a new object of the Counter class is created. You can also access the static variable using any object of that class, such as `c1.COUNT`.
## Static Methods