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]
Write a java class ExceptionProgram to read continuous input values until an integer is received. [ do while - 2 marks
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a java class ExceptionProgram to read continuous input values until an integer is received. [ do while - 2 marks
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!