Which of these methods is used to print stack trace?
(a) obtainStackTrace()
(b) printStackTrace()
(c) getStackTrace()
(d) displayStackTrace()
I got this question in exam.
This interesting question is from Creating Exceptions in section Exception Handling of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)