Ans: compilation fails.
Explanation: The method parseBoolean(String) is not available in java.lang.Boolean class.
However, here the parseBoolean("trUe") returns the boolean value "true" and then tries to call the getClass() method on the primitive which causes the below compilation error.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Cannot invoke getClass() on the primitive type boolean
Not sure if anyone already reported this or discussed here before.