What will be the tokens in the following statement? StringTokenizer strToken = new StringTokenizer("123-456-7890",
"-",true) ;
A) 123,456,and 7890
B) -
C) 123,456,7890,and -
D) None of the above
Correct Answer:
Verified
Q7: In a string that contains a series
Q9: When using the StringBuilder class's insert method,
Q9: The StringBuilder constructor used in the following
Q11: To use the StringTokenizer class you must
Q12: Assuming that str is declared as follows:
Q33: What will be printed after the following
Q33: Use the following import statement when using
Q36: To convert the int variable, number to
Q47: What would be the results of executing
Q57: What will be the value of matches
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents