A. Bitwise inversion operator is legally applied to an integral type. public class MainClass{ public static void main(String[] argv){ int x = 1; x = ~x; System.out.println(x); } }
-2