1

What will be the output of the following program?

class MyClass{
public static void main(String s[]){
int i = 4;
int j = 21;
int k = ++i * 7 + 2 – j- -;
System.out.println(“k = ” + k);
}
}

  • k = 16

  • Program will not compile

  • k = 11

  • k = 17