print to different console java code example
Example: How to print in console java
public class ConsoleTest {
public static void main(String[] args) {
System.out.println("Console is: " + System.console());
}
}
public class ConsoleTest {
public static void main(String[] args) {
System.out.println("Console is: " + System.console());
}
}