how to write something in console in java code example Example: java console write System.out.println("Hello Console");