πŸ“Š JAVA
Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both 1 & 2 will give equal performance

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
89%
Success Rate