solve as per increment and decrement operators in java for 50 points
Attachments:
Answers
Answered by
4
Answer:
Explanation:
Post fix has higher precedence to prefix
post fix -> left to right
prefix-> right to left
i)
a=b++ + b++
0 + 1 =1
ii)
a=++b + ++b
2 + 1 = 3
iii)
a=b++ + ++b
0 + 2 =2
iv)
a=++b + b++
2 + 0=2
Answered by
0
Answer:
Java Applet - small program written in Java and that is downloaded from a website and executed within a web browser on a client computer.
Similar questions