Multiple Choice
What will be displayed after the following statements are executed? String str = "red$green&blue#orange";
String[ ] tokens = str.split("[$]") ;
For (String s : tokens)
System.out.print(s + " ") ;
A) red green blue orange
B) red $ green & blue # orange
C) $ & #
D) red[$]green[$]blue[$]orange
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Most of the String comparison methods are
Q7: What will be displayed after the following
Q8: What will be displayed after the following
Q9: Autoboxing is _.<br>A) Java's process of automatically
Q10: Any _ argument passed to the Character
Q12: If you are using characters other than
Q13: The wrapper classes in Java are immutable,
Q14: What will be printed after the following
Q15: What will be the value of matches
Q16: You can change the contents of a