Boolean Objects
To create a false Boolean object, use:new Boolean()new Boolean(0)new Boolean(null)new Boolean("")new Boolean(false) or simply use the literal false
All other values create a Boolean object with initial value true!
Previous slide
Next slide
Back to first slide
View graphic version