Blogger

Delete comment from: Java67

Anonymous said...

As per your article "diff b/w string literal and string object", you sed that when you use new operator it creates a separate new object, so then in the above first snipets, how come the object of String are equal w.r.t reference ,

Reply back.. thanks for answering...

Oct 6, 2015, 11:25:01 PM


Posted to Difference between == and equals() method in Java? String Example

Google apps
Main menu