ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 2 - 312-96 discussion

Report
Export

Which of the following method will you use in place of ex.printStackTrace() method to avoid printing stack trace on error?

A.
ex.StackTrace.getError();
Answers
A.
ex.StackTrace.getError();
B.
ex.message();
Answers
B.
ex.message();
C.
ex.getMessage();
Answers
C.
ex.getMessage();
D.
ex.getError();
Answers
D.
ex.getError();
Suggested answer: C
asked 18/09/2024
Aneez vezhappilly
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first