If you declare as a primitive i.e. boolean
. The value will be false by default if it's an instance variable (or class variable).
If it's an instance variable Boolean
it will be null.
If it's declared within a method you will have to initialize it, or there will be a compiler error.