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