Question: Write the inputLicenses ( ) method in the Directory class. Within inputLicenses ( ) , use scnr to read each entry number until - 1
Write the inputLicenses method in the Directory class. Within inputLicenses use scnr to read each entry number until is read from input. If the entry number is not equal to :
Create a new License object.
Use the License object's readDetails method to read the license's fee and state from input.
Append the License object to ArrayList licenseList.
Ex: If the input is:
OH NY MS GA
then the output is:
License fee: State: OH License fee: State: NY License fee: State: MS License fee: State: GA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
