Write a java class ExceptionProgram to read continuous input values until an integer is received. [ do while - 2 marks
Posted: Sun May 15, 2022 10:01 am
Write a java class ExceptionProgram to read continuous input
values until an integer is received. [ do while - 2
marks]
Throws InputMismatchException when character is entered [ try
catch - 2 marks, exception object - 1 mark]
values until an integer is received. [ do while - 2
marks]
Throws InputMismatchException when character is entered [ try
catch - 2 marks, exception object - 1 mark]