Which of the following statement correctly assigns a value 33 to a variable c? byte a = 11, b = 22, c;
1.c = (byte) (a + b);
2.c = (byte) a + (byte) b;
3.c = (int) a + (int) b;
4.c = (int)(a + b);
Answer:1
Posted Date:-2021-02-25 10:24:19