This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
Could someone explain , when the Boolean wrapper class equates to true / false when comparing 2 objects... I have seen that this class acts different compared to the other wrapper classes... and has some similarity with the String class (in terms of the true/false literals)
Boolan objects if created by passing in a String will be true if the String passed is true(in any case). So True, TrUe, tRuE, TRUE and any other combination of cases in the same order will cause the Boolean object to contain true. Any other value will cause the wrapper to contain false. When toString is used then however the value that will be printed will be however true or false(in lowercase). Consider this :