S
sudhir.ku
"Make an Exception class (InvalidInputException) such that
1)Anyone can set the message explicitly.
2)With every message, there should be a text like ""[Name of class]""
This Exception will be thrown if user enters the age below 1 or above
155
Make another class to use this exception
Test this Class and observe the output. "
1)Anyone can set the message explicitly.
2)With every message, there should be a text like ""[Name of class]""
This Exception will be thrown if user enters the age below 1 or above
155
Make another class to use this exception
Test this Class and observe the output. "