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.
You're not wrong. Some are unncessary though. Such as "Mine in Java". Java is the only C like language on hackerrank that requires you to declare that a method can throw an exception prior to its definition.
In any event it shouldn't be in the code, maybe in your post itself.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 17: More Exceptions
You are viewing a single comment's thread. Return to all comments →
You're not wrong. Some are unncessary though. Such as "Mine in Java". Java is the only C like language on hackerrank that requires you to declare that a method can throw an exception prior to its definition.
In any event it shouldn't be in the code, maybe in your post itself.