This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
As i know, String objects are immutable. yes it is 100% true. then why concat operation performed on String.
left side of == concat two string object(a and b)results into a 3rd new object lets say x,and right side of == also concat two string object(a and b)results into a fourth new object lets say y. ......... then dear both x and y two different object created in memory....hence == operator returns false...