Skip to content

Commit 014cc9f

Browse files
authored
Update CompareStrings.java
1 parent df8a6ed commit 014cc9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CompareStrings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Demonstarting the comparison of Strings
2+
13
class CompareStrings
24
{
35
public static void main(String args[])
@@ -8,4 +10,4 @@ public static void main(String args[])
810
System.out.println("Result 1: "+s1.compareTo(s2));
911
System.out.println("Result 2: "+s1.compareTo(s3));
1012
}
11-
}
13+
}

0 commit comments

Comments
 (0)