Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

List Of Programs and Output for Experiment 6.

user_def_exp_handling.java - Write program that creates a user defined exception when the balance in an account is less than 500

balanceException: Low Balance

Exception_Handling - Write a program that demonstrates exception handling mechanism.

arith_exp_handling.java - Arithmetic exception

java.lang.ArithmeticException: / by zero

array_exp_handling.java - Array out of index exception

java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 3

file_exp_handling.java - File not found exception

java.io.FileNotFoundException: text.txt (The system cannot find the file specified)