Multiple Choice
What will be the tokens in the following statement?
String str = "red$green&blue#orange";
String[] tokens = str.split("[$]") ;
A) "red", "green", "blue", and "orange"
B) "$", "&", and "#"
C) "[", "$", "&", "#", and "]"
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q14: Look at the following statement: StringBuilder str
Q15: What will be printed after the following
Q16: Sometimes a string will contain a series
Q17: The no-arg constructor for a StringBuilder object
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
Q24: What will be the tokens given the
Q34: What would be the results of executing