Skip to content

Instantly share code, notes, and snippets.

@Frederick888
Created May 11, 2023 03:34
Show Gist options
  • Save Frederick888/ed95fd81353626950d36d292f396c8cf to your computer and use it in GitHub Desktop.
Save Frederick888/ed95fd81353626950d36d292f396c8cf to your computer and use it in GitHub Desktop.
Counting Java
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