When there is a tricky bug in a Java application, knowing how edge-case situations happen makes all the difference. That’s because bugs usually happen because of edge-case scenarios. In this challenge there is an edge-case coding situation, do...
To go deeper and know how to use Exceptions in a real project, you can read the following article: 11 Mistakes Java Developers Make when Using Exceptions If you have any questions about this Java Challenge, don’t hesitate to leave a question...
Learn the difference between Error, Exception, and RuntimeException. Also, find out what happens when a variable is assigned and an Exception is thrown! As promised, this is the link for the Exceptions article: the code of the Java Challengers and...
Use try catch with Exception and Error by using the new try with resources feature from Java 9 by not declaring the Exception into the try block! Take this Java Challenger and be able to use the full power of it! Master recent Java versions by...
If you use Exceptions in the wrong way, bugs will be very difficult to find. If you always use generic Exceptions, how can other developers know what error has occurred? You have to understand why we use Exceptions and avoid Exception mistakes with...