Chapter 10: Problem 28
Look at the following string: "dogscat(@birdssquirrel" Write code using the String class's split method that can be used to extract the following tokens from the string: \(d o g, \quad\) cat, \(\quad\) bird, and squirrel. Write the declaration of a StringTokenizer object that can be used to extract the same tokens from the string.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.