KnowledgeBoat Logo
|

Computer Applications

Which of the following is the correct precedence of logical operators?

  1. !, &&, ||
  2. &&, !, ||
  3. ||, !, &&
  4. &&, ||, !

Java Operators

66 Likes

Answer

!, &&, ||

Reason — The correct precedence of logical operators is !, &&, ||.

Answered By

37 Likes


Related Questions