How do i get a boolean "true" if two strings have the same content? (java)

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-26T00:35:11Z Indexed on 2010/03/26 0:43 UTC
Read the original article Hit count: 209

Filed under:
|
|
|

for example i want to do something like stirng1 == string2 and have it return true if both string1 and string2 are the words "dog". how do i do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about boolean