5 years ago in Java Exception Handling

String s="abc";
Integer i=Integer.parseInt(s);
what is output?

[A] Runtime Exception
[B] number Formate Exception
Loading...
Next Question

Overall Stats

Attempted 433
Correct 240
Incorrect 45
Viewed 148

Answers

Guest
Guest
Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying number Formate Exception is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying number Formate Exception is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying Runtime Exception is correct answer

Salwa Nouamani
Salwa Nouamani - 1 month ago

Salwa Nouamani from Casablanca, Morocco is saying number Formate Exception is correct answer

Cos Sinus
Cos Sinus - 1 month ago

Cos Sinus from Casablanca, Morocco is saying number Formate Exception is correct answer

Related Questions

sub class of writer class is?

  • [A] byte writer
  • [B] character writer

In case of multiple catch blocks,______

  • [A] The superclass exception must be caught first
  • [B] The superclass exception can not caught first
  • [C] Either super or subclass can be caught first.
  • [D] None of these

The exception class is in ____ package

  • [A] java.file
  • [B] java.io
  • [C] java.lang
  • [D] java.util