Assignment No. 4 GRN: 12120127 Name of The Student: Waghule Shubham Kalyan Roll No.: 94 Class: CS Division: D Batch: B3 Problem Statement
Assignment No. 4 GRN: 12120127 Name of The Student: Waghule Shubham Kalyan Roll No.: 94 Class: CS Division: D Batch: B3 Problem Statement
GRN: 12120127
Name of the Student: Waghule Shubham Kalyan
Roll No.: 94
Class: CS
Division: D
Batch: B3
Problem Statement
Write a program for following exception, develop a suitable scenario in which the following
exceptions occur:
a. divide by zero
b. Array index out of bounds exception
c. Null pointer Exception
Develop a menu driven program for handle the above listed exception.
import java.util.Scanner;
Expected Output: