Package java.lang
Class Boolean
Boolean(boolean value)
Boolean(String s)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
constructor Boolean(boolean value):
Creates a new Boolean object which represents the value argument.
constructor Boolean(String s):
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.
Example
Boolean bool = new Boolean("true");
A new Boolean object is created with the example above.