Java application
ou will write a short Java application that will accept five strings from the user. Each String will be a word in
a sentence. The first word will be a subject, the second word will be a verb, the third word will be an adjective, the fourth word will be an object, and the fifth word will be an adverb. After all five words are entered, display the sentence using the following form: Subject – Verb – Adjective – Object – Adverb. Take a screenshot to verify that your sentence is displayed successfully. Cut and paste the screenshot into a Word document and attach this document to your submission.