How to print in 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());
}
}