We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
If this was in school, I would have told the teacher to scew off. This is garabage. I could have had this challenge done in three lines of code. And having detailed exceptions for one thing and not another thing is a jerky thing to do. It goes against all coding conventions I was taught in school.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Exception Handling (Try-catch)
You are viewing a single comment's thread. Return to all comments →
If this was in school, I would have told the teacher to scew off. This is garabage. I could have had this challenge done in three lines of code. And having detailed exceptions for one thing and not another thing is a jerky thing to do. It goes against all coding conventions I was taught in school.