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