Solved

What Will Be the Tokens Given the Following Statements

Question 24

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions