Question 14


What is the output of the following code? 1: int i = 45678; 2: int j = ~i; 3: 4: System.out.println(j); A) Compilation error at line 2. ~ operator applicable to boolean values only. B) Prints 45677. C) Prints -45677. D) Prints -45679.