public class Test
{

public static void main(String [] args)
{
int i = 0xFFFFFFF1;
int j = ~i;
System.out.println(j);
}

}

What would be output?

Options
- 0
- 14
- -15
- Compilation error


CORRECT ANSWER : 14

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement