1 comparing portions of strings write an


1. (Comparing Portions of Strings) Write an application that uses String method region-Matches to compare two strings input by the user. The application should input the number of characters to be compared and the starting index of the comparison. The application should state whether the strings are equal. Ignore the case of the characters when performing the comparison.

2.  (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.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: 1 comparing portions of strings write an
Reference No:- TGS0486028

Expected delivery within 24 Hours