InterviewSolution
Saved Bookmarks
| 1. |
[ ] You have entered a line which ends with a space and terminates with a full stop(.).The special character full stop (.) acts as a terminator to display all the tikens present in the string. Write a program to display all the tokens present in the string by using scanner class. Sample Input: West Point School DarjeelingSample output:West Point School Darjeeling |
|
Answer» The special character full stop (.) acts as a terminator to display all the tikens present in the string. WRITE a PROGRAM to display all the tokens present in the string by USING scanner class. Sample INPUT: West Point SCHOOL Darjeeling Sample output: |
|