import java.io.*; class Program { public static void main(String args[]) throws IOException { char ch; System.out.print("Karakter: "); ch = (char) System.console().reader().read(); System.console().reader().read(); System.out.println(ch); System.out.print("Karakter: "); ch = (char) System.console().reader().read(); System.console().reader().read(); System.out.println(ch); System.out.print("Karakter: "); ch = (char) new InputStreamReader(System.in).read(); System.out.println(ch); System.out.print("Karakter: "); ch = (char) new InputStreamReader(System.in).read(); System.out.println(ch); } }