- Use Java to write the exception handling for the followingprogram. Note: focus on exception handling, other details of codemay be sketches. Write code on the back of page 1.
- A program inputs a list of integer values in the range of -100to 100 from the keyboard. This program must use exception handlingto ensure that the input values are in range and are legalintegers. In case the input value is not in range or not legalinteger, this input value will be ignored, an error message will beprinted, and program continues. In the case of the input value isnot of integer type, an error message must be printed and theprogram terminated.
Expert Answer
Answer to Use Java to write the exception handling for the following program. Note: focus on exception handling, other details of…