Question: CHALLENGE ACTIVITY 1 1 . 1 . 2 . Exception basics. 5 3 5 1 4 0 2 5 2 6 6 2 2 0
CHALLENGE
ACTIVITY
Exception basics.
Jump to level
Complete the exceptionhandling construct to catch a runtime error exception and output "Passenger's age needs attention: followed by the exception's internal string value.
Ex: If input is then the output is:
Passenger's age received:
Ex: If input is then the output is:
Passenger's age needs attention: Value must be between and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
