Question: Q1) Write a program to demonstrate exception propagation in java? (4 marks) Q2)Create a program of your own choice and show (6 marks) a.) The
Q1) Write a program to demonstrate exception propagation in java? (4 marks)
Q2)Create a program of your own choice and show (6 marks)
a.) The use of try-catch-finally block for exception handling.
b.) The use of throw keyword for exception handling.
c.) The use of throws keyword for exception handling
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
