Collabera Interview Question

How would you handle an exception from a general error from user input?

Interview Answer

Anonymous

Feb 8, 2021

Throw exception and then while loop to keep the scanner from closing.