R

Ram Sharma • 193.86K Points
Coach

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)
  • Correct Answer - Option(B)
  • Views: 201
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics