Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Implement in JAVA 01) Create a main class named Office to prompt the user to enter his/her age and his location. The user application for
Implement in JAVA
01) Create a main class named Office to prompt the user to enter his/her age and his location. The user application for a job will be rejected either if his age is greater than 30 years or his Location is not in dhaka. You should declare two try-throw-catch blocks; one to handle the AgeOutOfRange Exception and the other to handle the outsidedhaka. If the user enters acceptable age and location, display the message |"Your application is accepted and is under reviewStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started