Skip to content

Instantly share code, notes, and snippets.

@ClassCubeGists
Last active August 31, 2017 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ClassCubeGists/7a775499162540379bc41e62347b7da3 to your computer and use it in GitHub Desktop.
Save ClassCubeGists/7a775499162540379bc41e62347b7da3 to your computer and use it in GitHub Desktop.
Code samples for a blog post - https://classcube.com/output-matching-runner/
public class PrintSquare {
public void printSquare() {
// Your code goes here...
}
}
public class PrintSquareRunner {
public static void main(String... args) {
PrintSquare ps = new PrintSquare();
ps.printSquare();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment