Multiple Choice
What will be the tokens given the following statements?
String str = ("January 1, 2016") ;
String[] tokens = str.split(" ") ;
A) The tokens will be: January
1,
2016
B) The tokens will be: ,
Space
C) The tokens will be: January
1
2016
Space
D) The tokens will be: January
Space
1
,
Space
2016
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q12: If you are using characters other than
Q14: What will be printed after the following
Q19: What will be the tokens in the
Q20: The following statement correctly creates a StringBuilder
Q21: If more than one character is used
Q22: To convert the string, str = "285"
Q23: Which of the following statements will print
Q26: For the following code, how many times
Q28: Which of the following methods of the
Q29: If a non-letter argument is passed to