Created
May 11, 2023 03:34
-
-
Save Frederick888/ed95fd81353626950d36d292f396c8cf to your computer and use it in GitHub Desktop.
Counting Java
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
public class Counting { | |
private int counter; | |
public int increaseCounter() { | |
counter = counter + 1; | |
return counter; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment