What will be the tokens in the following statement? StringTokenizer strToken =
New StringTokenizer("January 1,2008",",",true) ;
A) The tokens will be:
January,1
2008
B) The tokens will be
,
Space
C) The tokens will be:
January
1
2008
Space
D) The tokens will be:
January
Space
1
,
Space
2008
Correct Answer:
Verified
Q5: If a non-letter is passed to the
Q22: The no-arg constructor for a StringBuilder object
Q26: If str is declared as: String str
Q28: Two ways of concatenating two Strings are:
A)
Q29: If you do not specify delimiters in
Q31: In a string that contains a series
Q32: What will be the value of matches
Q33: What will be the value of loc
Q40: What is the value of str after
Q60: Which of the following statements will print
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