πŸ“Š JAVA
Q. Which of this statement is incorrect?
  • (A) switch statement is more efficient than a set of nested ifs
  • (B) two case constants in the same switch can have identical values
  • (C) switch statement can only test for equality, whereas if statement can evaluate any type of boolean expression
  • (D) it is possible to create a nested switch statements
πŸ’¬ Discuss
βœ… Correct Answer: (B) two case constants in the same switch can have identical values

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
90%
Success Rate