Question: String test = a1b2c3; String[] tokens = test.split(d); for(String s: tokens) System.out.print(s + ); What is the result of this code snippet?
String test = "a1b2c3"; String[] tokens = test.split("\\d"); for(String s: tokens) System.out.print(s + " ");
What is the result of this code snippet?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
