Which has best performance while converting String to boolean from the below options.
boolean value = new Boolean(\"true\").booleanValue();
The second and third one are the best options since they are static factory methods and internally the can reuse references.
Looking at Boolean.valueOf("true") and Boolean.parseBoolean("true") implementations they both do the same (they both call toBoolean(s);) with the difference that valueOf returns the Boxed type.