Add println

This commit is contained in:
Sambo Chea 2020-06-09 09:59:31 +07:00
parent dd9c4f260c
commit 2bcd46b73c

View File

@ -10,6 +10,10 @@ public class Print {
public static final String ID = "PRINT"; public static final String ID = "PRINT";
public static void print(String message) { public static void print(String message) {
System.out.print(ID + " : " + message);
}
public static void println(String message) {
System.out.println(ID + " : " + message); System.out.println(ID + " : " + message);
} }
} }