chapter 2 test 8. 9. 10
Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master'
chapter 2 Exercise7:
You can call increment( ) by itself, because a static method (main( ), in this case) can call another static method without qualification.
But the two methods must be in the same class.