S

Sandeep • 6.47K Points
Tutor III

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: 130
  • 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