Question: are booleans true by default?
Answer: As mentioned by others the value for a Boolean will be null by default. Boolean is an Object. ... The value will be false by default if it's an instance variable (or class variable). If it's declared within a method you will still have to initialize it to either true or false, or there will be a compiler error.