Which of these methods is used to print stack trace?
A. obtainStackTrace()
B. printStackTrace()
C. getStackTrace()
D. displayStackTrace()
Answer:B
Which of these methods is used to print stack trace?
A. obtainStackTrace() B. printStackTrace() C. getStackTrace() D. displayStackTrace()