This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Answer : It will print "false true" Can any one explain me why does it print such an answer?? I agree with the second part of the answer i.e(true), But why is ia==ja said to be false??(Since they both are Integer arrays) Sonir
Author and all-around good cowpoke
posted 14 years ago
Oh come on! You already know the answer to that. Think! They are two separate objects! What does == test?