JE 2015
E 2015
Tick () the corre
1. The statement
(a) ++n
2. What will be the
(a) 10,10
3. What will be th
(a) 1
Multiple Choice Questions
r() the correct answer:
a statement n += 4 is equivalent to:
(b) n=n+4
will be the output of a & b in the following, if int a, b; a=10; b=a++;
(c) n+1
(d) none
Lot will be the output of a++ when int a = -1:
(c) 11,10
(d) 11,11
2 = 25, b = 5, c = 0; what value is stored in c? When c = amb:
(c) 0
(d) none
(d) none
E 2016
(b) 10,11
(b) -1
2 2016)
2016
(a) 5.0
(b) 5
What is the result of the following in Java statement?
(c) 0
when int m=8; m*=8; System.out.println(“The output =" +m):
(a) 8
(b) 64
(c) 16
6. double c; int x, y, z; x = 5; y = 10; z = 11
(d) 88
C = x*y+z/2;
The value stored in c is:
(a) 55.0
(b) 55.5
(c) 55
(d) none
intmp: m = 5; p = 0; p = m - - + - - m; The output will be:
(b) 10
(c) 8
(d) 12
mint a=7, p=0, q=0; p= + + a + - - a; q - = p; The output of q will be:
(b) 14
(c) 15
(d) -15
(a) 11
(a) 13
ram2134:
i can't understand the answers of the question you have sent
Answers
Answered by
1
not able to understand what you have written sir please write it down properly sir
Similar questions