Sudhakar Sharma wrote:Hi Ram,
If you construct a Boolean object other then with the "true" string, it evaluate it as false
Both evaluates false, and due to overriding equals() method it checks meaningfully equals which returns true.
welcome,
Campbell Ritchie wrote:"Ramakrishna" it is not possible to send you a private message to warn you about the naming policy, but you are still in violation of it.
Correct your displayed name to match the policy, or we shall withdraw your privilege of using this website.