The parseBoolean method of Boolean class is one of the newest addition as of Java 1.5. This is to take into consideration the instances wherein we have to convert String value to Boolean. This method basically parses the string argument as a boolean. The boolean returned represents the value true if the string argument is not null and is equal, ignoring case, to the string “true”.
Example: Boolean.parseBoolean("True") returns true.
Example: Boolean.parseBoolean("yes") returns false.