

McqMate
Q. |
Given the declarations~~~boolean b;~~~short x1 = 100, x2 = 200, x3 = 300; Which of the following statement is evaluated to true? |
A. | b = x1 * 2 == x2; |
B. | b = x1 + x2 != 3 * x1; |
C. | b = (x3 - 2*x2<0) && ((x3 = 400)<2**x2); |
D. | b = (x3 - 2*x2>0) || ((x3 = 400) 2*x2); |
Answer» A. b = x1 * 2 == x2; |
View all MCQs in
Java ProgrammingNo comments yet