πŸ“Š JAVA
Q. Which of the following will cause a semantic error, if you are trying to compare x to 5?
  • (A) if (x == 5)
  • (B) if (x = 5)
  • (C) if (x <= 5)
  • (D) if (x >= 5)
πŸ’¬ Discuss
βœ… Correct Answer: (B) if (x = 5)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
282320
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate