Examveda
Examveda

Which of these lines of Java code will give better performance?
1. a | 4 + c >> b & 7; 
2. (a | ((( 4 * c ) >> b ) & 7 ))

A. 1 will give better performance as it has no parentheses

B. 2 will give better performance as it has parentheses

C. Both 1 & 2 will give equal performance

D. Dependent on the computer system

Answer: Option C


This Question Belongs to Java Program >> Operators

Join The Discussion

Related Questions on Operators