A

Admin • 828.03K Points
Coach

Q. Which method in Throwable class prints the stack trace?

  • (A) trace()
  • (B) print()
  • (C) printStackTrace()
  • (D) show()

Explanation by: Admin
`printStackTrace()` is used to print the call stack to the console.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.