9. "With x = 0, which of the
following are legal lines of Java
code for changing the value of
x to 1? 1. x++; 2. x= x + 1; 3. x +=
1; 4. X =+ 1;"*
a. 1,2 & 3
O b.1&4
O c. 1, 2, 3 & 4
d. 3 & 2
Answers
Answered by
0
Answer:
b.1&4
Explanation:
x++ =0+1=1
x=+1 means x=x+1
Answered by
0
Answer:
c
Explanation:
Similar questions
Social Sciences,
2 months ago
Science,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
Hindi,
5 months ago
Physics,
10 months ago
Science,
10 months ago