Question: Repeat the following until currCertificate's readHolderAndLevel ( ) method returns false: Assign currCertificate with a new Certificate object. Use currCertificate's readHolderAndLevel ( ) method to

Repeat the following until currCertificate's readHolderAndLevel() method returns false:
Assign currCertificate with a new Certificate object.
Use currCertificate's readHolderAndLevel() method to read each pair of inputs, string holder and integer level.
If currCertificate's readHolderAndLevel() method returns true, append currCertificate to ArrayList certificateList.
Ex: If the input is Huy 5 Jen 11 Tia 1 Ava 2 done, then the output is:
Certificate: Huy, Level: 5
Certificate: Jen, Level: 11
Certificate: Tia, Level: 1
Certificate: Ava, Level: 2

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 Programming Questions!