A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
equals method with stringbuffer
Joined: Apr 02, 2010
Sep 01, 2010 12:28:52
sb1 = new
sb2 = new
sb1.equals(sb2) = false ?
s1 = new String("Amit");
String s2 = new String("Amit");
s1.equals(s2) = true
Vinoth Kumar Kannan
Joined: Aug 19, 2009
Sep 01, 2010 12:42:50
A search in this forum would have helped. We had this topic discussed recently.
Please search before posting a question..
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: equals method with stringbuffer
Difference of equals method in string and stringbuffer
stringBuffer VS string
String and StringBuffer
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013