Tech talk!
Discussing my experiences with technology!
Thursday, February 14, 2013
Java - String comparison
Does it give you a bellyache?
Never mind, you can compare them like this-
System.out.println(gg1.compareTo(gg3));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment