What is the default value of a boolean instance variable in Java?
Correct answer A. false
Explanation
Instance variables of type boolean are automatically initialised to false if no value is assigned. Local variables, however, receive no default.
Answer checked How we write and check questions
Discussion