Created
August 20, 2018 09:44
-
-
Save maltebucksch/474fecc08f9ec2069dcb928aa115eb54 to your computer and use it in GitHub Desktop.
Counting Non-Functional
This file contains 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
private int count = 0; | |
// returns something different every time you call the function (not functional!) | |
private int getCount(){ | |
count++; | |
return count; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment