Question: Write the inputMembers ( ) method in the Appointments class. Within inputMembers ( ) , use scnr to read each row number until - 1
Write the inputMembers method in the Appointments class. Within inputMembers use scnr to read each row number until is read from input. If the row number is not equal to :
Create a new Member object.
Use the Member object's readDetails method to read the member's group and name from input.
Append the Member object to ArrayList memberList.
Ex: If the input is:
A Tia B Lin B Pat A Fay
then the output is:
Member group: A Name: Tia Member group: B Name: Lin Member group: B Name: Pat Member group: A Name: Fay
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
