Multiple Choice
What will be the value inside the variables a and b after the given set of assignments?
Int a = 20;
Int b = 10;
A = (a +B) / 2; b = a;
A++;
A) a = 15, b = 16
B) a = 16, b = 16
C) a = 16, b = 15
D) a = 15, b = 15
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Which one of the following is a
Q11: Assume the variable str has been declared
Q13: What is the output of the following
Q16: Assume the following variable has been declared
Q17: What (if any) type of error occurs
Q18: What will be printed by the statements
Q19: Which of the following statements is correct
Q20: Suppose a phone number, stored as a
Q55: Which statement is true?<br>A)Variables cannot be assigned
Q60: Which of the given System.out.print statements generates