ICSE Class 10 Computer Applications Question 14 of 30

Solved 2025 Specimen Paper ICSE Class 10 Computer Applications — Question 14

Back to all questions
14
Question

Question 1(xiv)

The default value of a boolean variable is:

  1. False
  2. 0
  3. false
  4. True
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.