Home » JAVA Programming » Exceptions » Question
  1. Which of these methods is used to print stack trace?
    1. a)
      b)
      c)
      d) displayStackTrace()
    2. getStackTrace()
    3. obtainStackTrace()
    4. printStackTrace()
    5. None of these
Correct Option: D

printStackTrace()



Your comments will be displayed only after manual approval.