Java boolean allows values of true and false while Boolean allows true, false, and null. I have
boolean
true
false
null
I suppose in some case, you should have a mechanism to distinguish a Boolean field which already set value or not.