A
Q. What will be the output?
public class Test{
public static void main (String[] args){
String test = "a1b2c3";
String[] tokens = test.split("\d");
for(String s: tokens)
System.out.print(s);
}
}
- Correct Answer - Option(A)
- Views: 18
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.