A

Admin • 828.03K Points
Coach

Q. Choose the correct usage of boolean literal in the options below.

  • (A) boolean b= false;
  • (B) boolean b= 2<4; //2<4 is true;
  • (C) if(true) { System.out.println("HELLO"); }
  • (D) All the above
  • Correct Answer - Option(D)
  • Views: 13
  • Filed under category Java
  • Hashtags:

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.