Ask Question
30 October, 01:15

An exception can produce a "call stack trace" which lists:

a) the active methods in the order that they were invoked

b) the active methods in the opposite order that they were invoked

c) the values of all instance data of the object where the exception was raised

d) the values of all instance data of the object where the exception was raised and all local variables and parameters of the method where the exception was raised

e) the name of the exception thrown

+4
Answers (1)
  1. 30 October, 03:00
    0
    B) The active methods in the opposite order that they were invoked.

    Explanation:

    Stack trace consists of the active methods. On calling it lists the methods that are active in the reverse order of the invocation because when a method is first invoked it goes into the stack first and due to the property of the stack that is it is a LIFO (Last In First Out) type data structure. It lists the first method at the last.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “An exception can produce a "call stack trace" which lists: a) the active methods in the order that they were invoked b) the active methods ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers