0
Write a program in Java to find the result of following expression (Assume a = 10, b = 5) i) (a < < 2) + (b > > 2)
How can I solve the above expression in Java.
2 Antworten
+ 2
Shahjad Ansari
You can use bitwise left shift << and right shift >> operators to perform bitwise operations on integers.
0
i) means just exercise one