+ 1

How to get the next character of any string in one loop...e.g..there is a string "javalearn" how to get j n simultaneously a

11th Nov 2016, 2:08 PM
Snehalata khobragade
Snehalata khobragade - avatar
3 odpowiedzi
0
thnx dear..i was trying charAt(counter+1) but it was throwing exception StringArrayOutOfBoundsException
11th Nov 2016, 3:03 PM
Snehalata khobragade
Snehalata khobragade - avatar
0
what if i want "ja" at a time..ur pgm is showing one by one character of a string
11th Nov 2016, 3:31 PM
Snehalata khobragade
Snehalata khobragade - avatar