As your code stands it will not compile because parseBoolean returns a primitive boolean which you cannot invoke any method on.
If you use Boolean.valueOf("true"), this will return a Boolean object which has a getClass() method.
It will print "class java.lang.Boolean". Class objects are primarily used for reflection.
JDBCSupport - An easy to use, light-weight JDBC framework -
on the same code which you wrote , if modified as above
The result will be
java.lang.Boolean only..................because the argument's case-insensitive value will be taken........