Question OOP-EXC-0051
MediumWhich exception does Integer.parseInt("12a") throw?
- A.
ClassCastException
- B.
ArithmeticException
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
Which exception does Integer.parseInt("12a") throw?
ClassCastException
ArithmeticException
Sign up free to see the answer and a step-by-step explanation.
NumberFormatException
IOException