- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
  
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);

Posted Date:-2021-02-25 10:24:19


More MCQS Questions and answers

Search