Last active
August 31, 2017 23:19
-
-
Save ClassCubeGists/7a775499162540379bc41e62347b7da3 to your computer and use it in GitHub Desktop.
Code samples for a blog post - https://classcube.com/output-matching-runner/
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 PrintSquare { | |
public void printSquare() { | |
// Your code goes here... | |
} | |
} |
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 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