fork download
  1. import java.util.Scanner;
  2. class Ideone
  3. {
  4. public static void main (String[] args) throws java.lang.Exception
  5. {
  6. Scanner input = new Scanner(System.in);
  7. int i = 23;
  8. int a = input.nextInt();
  9. System.out.printkln(i < a ? "Hi" : "Hello");
  10. }
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:9: error: cannot find symbol
		System.out.printkln(i < a ? "Hi" : "Hello");
		          ^
  symbol:   method printkln(i < a ? "H[...]ello")
  location: variable out of type PrintStream
1 error
stdout
Standard output is empty