We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80abc18 commit 8288e23Copy full SHA for 8288e23
src/me/ramswaroop/strings/RemoveExtraSpaces.java
@@ -58,5 +58,8 @@ public static void main(String a[]) {
58
System.out.println(removeExtraSpaces(" ram swaroop is a good boy."));
59
System.out.println(removeExtraSpaces("ram swaroop is a good boy ."));
60
System.out.println(removeExtraSpaces(" ram swaroop is a good boy ."));
61
+ System.out.println(removeExtraSpaces(" "));
62
+ System.out.println(removeExtraSpaces(""));
63
64
}
65
0 commit comments