Computer Science, asked by lavanya8858, 5 months ago

in) 18
iv) 99
e)
03. Multiple choice questions.
(5)
1. What will be the output of the following state ment?
When int n=9; n=9;
System.out.println(" The output="+n);
1) 9
ii) 81
2. If a=100,b=200 and c=300 Then which of the following expression returns true.
0 a 3-5
ii) a+b>
iii) ac=100&& b>200 iv) none
3. if int a=43, b=5 and c=0; then what will be the value of c when c = a%b?
0) 3.3
ii) 4
iii) 3
iv) 4.01
4. Which of the following will produce 9.0 if x=9.97
1) Math.ceild ii) Math.round() m) Math.floor() iv) Math.rinto
5. Which will be the output of the following code if X-5, Y=10?
Y=(X>=Y)? ++ X: Y-;
0) 9
ii) 7
il) 10
iv) 11​

Answers

Answered by shreyansh7442
0

Answer:

kg, mxxmxkyxdupxo

FJj

kgsylg

olxv

XY true

dplkygk

Similar questions