Question: JAVA - Use scnr to read integer entryNumber from input until the next entryNumber read is equal to - 9 9 . If entryNumber is

JAVA
-
Use scnr to read integer entryNumber from input until the next entryNumber read is equal to -99. If entryNumber is not equal to -99:
Assign currParticipant with a new Participant object.
Use currParticipant's readNameAndGroup() method to read the participant's name and group from input.
Append currParticipant to ArrayList participantList.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!