News

Use Java assertions to test your assumptions about program correctness and check them in your code.
Not sure what a try catch is? We explain how to use a try catch block in Java and how to write methods that throw exceptions.
Don't let the occurrence of a RuntimeException in Java bring your code to a standstill. Here are 10 examples of how to avoid runtime exceptions in Java.
The bad aspects of Java exception handling include abuses such as using unchecked exceptions and catchall constructs. Both of these fall under the category of taking the easy way out.