A

Admin • 828.03K Points
Coach

Q. Which one is a valid declaration of a boolean?

  • (A) boolean b1 = 1;
  • (B) boolean b2 = ‘false’;
  • (C) boolean b3 = false;
  • (D) boolean b4 = ‘true’
  • Correct Answer - Option(C)
  • Views: 12
  • 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.