Question: 2. Write a Java program that generates StringlndexOutofBoundsException exception. b. Ensure that the exception is handled by using the appropriate exception type. 3. Explain the

2. Write a Java program that generates StringlndexOutofBoundsException exception. b. Ensure that the exception is handled by using the appropriate exception type. 3. Explain the difference between Checked and Unchecked exceptions. 4. Explain with examples the order of catchl) blocks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
