Multiple Choice
What are the tokens in the following code? String str = "123-456-7890";
String[ ] tokens = str.split("-") ;
A) 123, 456,7890
B) 123, 456, 7890,-
C) -
D) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q33: In the following code, how many times
Q34: What would be the results of executing
Q35: The following statement correctly creates a StringBuilder
Q36: Trying to extract more tokens than exist
Q37: The String class's valueOf method accepts a
Q39: Which of the following statements will display
Q40: The process of converting a wrapper class
Q41: What will be displayed after the following
Q42: Which of the following statements converts an
Q43: What will be displayed after the following