Skip to content

Commit 70bbb5e

Browse files
committed
checking of power method in java
1 parent 0211e07 commit 70bbb5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/String_Problem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public static void main(String[] args) {
2121
System.out.println(letter);
2222
//
2323

24+
//
2425
// 4. Write a Java program to detect double and triple spaces in a string.
2526
String space = "HEllo My name is Shubham";
2627
System.out.println(space.indexOf(" "));

0 commit comments

Comments
 (0)