We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0211e07 commit 70bbb5eCopy full SHA for 70bbb5e
src/String_Problem.java
@@ -21,6 +21,7 @@ public static void main(String[] args) {
21
System.out.println(letter);
22
//
23
24
+//
25
// 4. Write a Java program to detect double and triple spaces in a string.
26
String space = "HEllo My name is Shubham";
27
System.out.println(space.indexOf(" "));
0 commit comments