Computer Applications

The default value of a boolean variable is:

  1. False
  2. 0
  3. false
  4. True

Values & Data Types Java

ICSE Sp 2025

4 Likes

Answer

false

Reason — In Java, the default value of a variable depends on its data type. For a boolean variable, the default value is false (in lowercase). This is because Java uses the primitive boolean type, which has only two possible values: true or false.

Answered By

2 Likes


Related Questions