Look at the following string: Dog$cat@bird%squirrel Write code using the String classs split method that can be

Question:

Look at the following string: 

"Dog$cat@bird%squirrel"

Write code using the String class’s split method that can be used to extract the following tokens from the string: dog, cat, bird, and squirrel.

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

Step by Step Answer:

Question Posted: