Multiple choice

Which of the following methods displays the call stack for threads?

  1. void checkAccess()

  2. void destroy()

  3. void interrupt()

  4. static void dumpStack()

  5. void run()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This method displays the call stack for the thread.