Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 24 which is a valid value for a boolean variable? 1 true true

Question

question 24
which is a valid value for a boolean variable?
1
true
true

Explanation:

Brief Explanations

In most programming languages, the valid values for a Boolean variable are true (in lowercase) and false (in lowercase). While some languages may support using 1 to represent true in a non - strict sense, the standard and most correct representation among the given options is true in lowercase.

Answer:

B. true