aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java and JSP Programming Fundamentals
  • Which of the following is a method of Throwable class in ...
Multiple choice

Which of the following is a method of Throwable class in java?

  1. printStackTrace()

  2. String toString()

  3. getClause()

  4. String getMessage()

  5. All of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Yes, all of the methods are defined in Throwable class.

Keep practicing — related questions

  • Which of the following methods of the Throwable class returns the description of the exception in java?
  • Which method of the Throwable class returns the description of the exception in Java?
  • Which of the following is/are method(s) of Exception class in Java?
  • Which of the following methods of Throwable class sends the stack trace to the specified stream?
  • Which method is not present in Throwable class?
  • Which of the following methods of the Throwable class returns null, if there is no underlying exception found?
  • Which of the following methods is used in Java to throw an exception explicitly in a program?
  • Which of the following statements is/are not true?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy