1.

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

Answer»

The CORRECT OPTION is (B) printStackTrace()

The EXPLANATION: NONE.



Discussion

No Comment Found

Related InterviewSolutions