Boolean.Boolean

Boolean.Boolean

Class Overview | Class Members | This Package | All Packages

Syntax 1
public Boolean( boolean value )
Parameters
value
the value of the Boolean.
Description
Allocates a Boolean object representing the value argument.



Syntax 2
public Boolean( String s )
Parameters
s
the string to be converted to a Boolean.
Description
Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true". Otherwise, allocate a Boolean object representing the value false.