Look at the following string: Cookies>milk>fudge:cake:ice cream Write code using the String classs split method that can

Question:

Look at the following string: 

"Cookies>milk>fudge:cake:ice cream"

Write code using the String class’s split method that can be used to extract the following tokens from the string: cookies, milk, fudge, cake, and ice cream.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: