Solved

What Will Be the Tokens for the Following Code

Question 52

Multiple Choice

What will be the tokens for the following code?
String str = "123-456-7890";
String[] tokens = str.split("-") ;


A) 123, 456, and 7890
B) -
C) 123, 456, 7890, and -
D) None of the above

Correct Answer:

verifed

Verified

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

Related Questions