III. Answer these questions(Based on Java)
a. Is 1num a valid literal? (give reason)
b. What will be the result of ++t + --r + r++ if t=4 and r=7.
c. If a=100, b=200, c=300. Then which of the following evaluate to false
(i) a*c = == b (ii)a+b= = 3*a
(iii) a>=100 & & b>=100 (iv)All are correct
d. What result will be produced by the expression Age>60? 100:0 if
(i)Age is 60 (ii) Age is 80
e. What will be the result produced by the expression: - C+D>2000? 400:200 if
(i)C=2000 and D=500 (ii) C=500 and D=1000
f. Fill in the blanks:-[2x1=2]
(i) The expansion of D*=67 is______________________
(ii)The operator ++ is known as______________________operator.
g. Assign the following literals into a variable with a proper data type
(i) 5674 (ii)’N’
Answers
Answered by
0
Answer:
I don't know this answer is very tough
Similar questions