The default value of a boolean variable is ______.
Advertisements
Question
The default value of a boolean variable is ______.
Options
False
0
false
True
MCQ
Fill in the Blanks
Advertisements
Solution
The default value of a boolean variable is false.
Explanation:
- In Java, the default value of a boolean variable is false.
- This is the value automatically assigned to boolean variables that are not explicitly initialized.
shaalaa.com
Tokens
Is there an error in this question or solution?
