sample-module-gradle/src/main/java/com/cubetiqs/util/Print.java

25 lines
463 B
Java
Raw Normal View History

2020-06-09 09:28:40 +07:00
package com.cubetiqs.util;
2020-06-09 09:21:51 +07:00
/**
* Print Message
*
* @author sombochea
* @since 1.0
*/
public class Print {
public static final String ID = "PRINT";
public static void print(String message) {
2020-06-09 09:59:31 +07:00
System.out.print(ID + " : " + message);
}
public static void println(String message) {
2020-06-09 09:21:51 +07:00
System.out.println(ID + " : " + message);
}
}
2020-06-09 09:40:12 +07:00
class Main {
public static void main(String[] args) {
Print.print("Hello");
}
}