Assume you have class AutoFactory with two static methods called shutdown and reset. Neither method has any parameters. The shutdown; method may throw a ProductionInProgressException.
LANGUAGE: JAVA
CHALLENGE:
Assume you have class AutoFactory with two static methods called shutdown and reset. Neither method has any parameters. The shutdown; method may throw a ProductionInProgressException.
Write some code that invokes the shutdown method. If a ProductionInProgressException is thrown, your code should then invoke the reset method.
SOLUTION:
The Bad News: The content you are trying to access is only available to members.
The Good News: You too can be a member, simply Click Here.
Already a member? Log In Here
Posted in Java, Learn To Code