Showing posts with label string. Show all posts
Showing posts with label string. Show all posts

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));