1. Engineering
  2. Computer Science
  3. this problem is in java please only complete it with...

Question: this problem is in java please only complete it with...

Question details
This problem is in java. Please only complete it with java.
PROBLEM: Given a sentence (up to 1024 characters long), output the following: 1) 2) 3) The number of different letters. This will be a number from 1 to 26, inclusive. The number of vowels. Vowels are the letters a, e, i, o, and u. The number of uppercase letters. a istini lowercase and uppercase letters 5) The longest word in the sentence. If there is a tie, print the one that appears first when sorting these words alphabetically without regard to lowercase and uppercase. INPUT: One line of data, containing a sentence, up to 1024 characters long. OUTPUT: Print the five statistics specified above in that order. SAMPLE INPUT http://www.datafiles.acsl.org/2019/contest2/jr-sample-input.txt The quick brown fox, named Roxanne, jumped over Bruno, a lazy dog SAMPLE OUTPUT . 25 2. 19 3. 3 5. Roxanne
Sample Expected input and output below.
TEST INPUT The 2019 Al1-Star Competition is at Wayne Hills HS in Wayne, New Jersey TEST OUTPUT 1. 16 2. 19 4. 7 5. Competition
Another sample input is below.
TEST INPUT The 2019 All-Star Competition is at Wayne Hills HS in Wayne, New Jersey.

Please complete in java only, and add everything inside the main function if possible without using any functions.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution