View Single Post
  #1 (permalink)  
Old 07-30-2007, 07:52 PM
elizabeth elizabeth is offline
Member
 
Join Date: Jul 2007
Posts: 40
elizabeth is on a distinguished road
how to compare two strings
I'm new in java
I want to compare 2 string
Can I check if they are the same? like this?
Code:
String t1; String t2; if (t1 == t2)
Reply With Quote
Sponsored Links