Java Programming Language MCQ String in Java
⚠ Report ✓ Question Verified Copy Link
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); } }
Learn More MCQ Questions from Java Programming Language MCQ String in Java