Boolean
- It is a very thin wrapper around boolean values which is useful when we want to pass a boolean variable by reference.
It contains the constants TRUE and FALSE, which define true and false Boolean objects.
Boolean also defines the TYPE field, which is the Class object for boolean.
It defines the following constructors.
Boolean(boolean boolValue) //in this boolValue must be either true or false
Boolean(String boolString) //in this boolString should be either the string "true" or "false"(in uppercase or lowercase)