Created
June 28, 2017 09:31
-
-
Save ecunado/271e7d568e64d1a0ede5bfc0c1619601 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyCounter { | |
| private static int counter = 0; | |
| public static int getCount() { | |
| return counter++; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment