Suppose x is a char variable with a value b What is the prin

Suppose x is a char variable with a value \'b\'. What is the printout of the statement System.out println(++x)? A) a B) d C) b D) C 25 % 1 is A) 0 B) 4 C) 2 D) 3 E) 1 Will the following program terminate? int balance = 10; while (true) [if (balance

Solution

1)D.c

2)A.0

3)A.yes

4)C. x=1;

5)B. Double

6)C.66

7)C.0

8)D. 93

9)B.No (infinite loop)

 Suppose x is a char variable with a value \'b\'. What is the printout of the statement System.out println(++x)? A) a B) d C) b D) C 25 % 1 is A) 0 B) 4 C) 2 D)

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site