Ask 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 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

+1
Answers (1)
  1. 17 June, 23:15
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers