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 TimeWaster { | |
public static void main (String[] args) { | |
System.out.println("What a waste of time!"); | |
} | |
} |
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 MessagePrinter { | |
private static String messageToPrint = "Hello World!"; | |
public static void main (String[] args) { | |
System.out.println(messageToPrint); | |
} | |
} |