Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java please , please read inside brackets . Assume that the Scanner class has been imported. Do not write any import statements. Write a class
java please , please read inside brackets .
Assume that the Scanner class has been imported. Do not write any import statements. Write a class with default scope called StringAnalyser that contains a public method called howManyLongWords (You do not need to write the driver for testing the class this has already be written) (Do not make your class public) The method howManyLongWords should: 1.) Return an integer yalue 2.) Use a scanner object that receives data from the standard input. (DO NOT include any import statements at the top of your class) 4.) Prompt the user to enter: Enter 5 words separated by spaces." 5.) Determine how many of the five words entered contained 3 or more characters, 6.) At the end of the method return how many words contained 3 or more characters. SUBMIT 1 of 1: Wed Aug 22 2018 16:53:13 GMT+1000 (Australian Eastern Standard Time) 1 Type your solution hereStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started