Write a statement that declares a reference variable abend suitable for holding a reference to an Exception object and initialize it to an Exception object whose message is “ABEND 013”.
LANGUAGE: JAVA
CHALLENGE:
Write a statement that declares a reference variable abend suitable for holding a reference to an Exception object and initialize it to an Exception object whose message is “ABEND 013”.
SOLUTION:
Exception abend; abend = new Exception("ABEND 013");