Question: JAVA - Use scnr to read each pair of inputs, string currHolder and integer currLevel, until completed is read from input. Create each Certificate object

JAVA
-
Use scnr to read each pair of inputs, string currHolder and integer currLevel, until "completed" is read from input. Create each Certificate object with currHolder and currLevel as arguments and append each object to ArrayList certificateList.
Ex: If the input is Ava 2 Ada 7 Avi 12 completed, then the output is:
Certificate: Ava, Level: 2
Certificate: Ada, Level: 7
Certificate: Avi, Level: 12

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!