6 years ago in Java Exception Handling

Which method is used to print the description of the exception?

[A] printStackTrace()
[B] printExceptionMessage()
[C] printStackMessage()
[D] printExceptionTrace()
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 486
Correct 203
Incorrect 118
Viewed 165

Answers

Guest
Guest
DZ&UC N.Feroze
DZ&UC N.Feroze - 2 months ago

DZ&UC N.Feroze from Karachi, Pakistan is saying printExceptionTrace() is correct answer

rita elradi
rita elradi - 7 months ago

rita elradi from Casablanca, Morocco is saying printStackTrace() is correct answer

Meryem Onzy
Meryem Onzy - 7 months ago

Meryem Onzy from Casablanca, Morocco is saying printExceptionMessage() is correct answer

MOUAD BOUKNITER
MOUAD BOUKNITER - 7 months ago

MOUAD BOUKNITER from Casablanca, Morocco is saying printStackTrace() is correct answer

ihsane KHALLOUQ
ihsane KHALLOUQ - 7 months ago

ihsane KHALLOUQ from Casablanca, Morocco is saying printExceptionMessage() is correct answer

Related Questions

exception is in java

  • [A] abnormal condition
  • [B] compile time error
  • [C] normal flow of control

What happen behind the code int a=50/0;

  • [A] object of exception class thrown
  • [B] Error in code

if super class method does not declare exception then

  • [A] sub class can not declare checked exception but declare unchecked exception
  • [B] subclass declare checked exception