Question: Q1 - (Displaying a Sentence with Its Words Reversed) Write an application that inputs a line of text, tokenizes the line with String method split

Q1 - (Displaying a Sentence with Its Words Reversed) Write an application that inputs a line of text, tokenizes the line with String method split and outputs the tokens in reverse order. Use space characters as delimiters.

Q 2 - (Displaying Strings in Uppercase and Lowercase) Write an application that inputs a line of text and outputs the text twiceonce in all uppercase letters and once in all lowercase letters.

Q 3 - (Searching Strings) Write an application that inputs a line of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!