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
‹
›
Home
View web version
No comments:
Post a Comment