News

Community driven content discussing all aspects of software development from DevOps to design patterns. The Java Scanner class is a simple, versatile, easy-to-use class that makes user input in Java ...
The good news is that JDK 7 introduces a whole new file management API that is intended for Java, but of course significantly and consequentially enhances Groovy’s file system handling capabilities.
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.
To solve these problems, Java embraced a new approach to exception handling. In Java, we combine objects that describe exceptions with a mechanism based on throwing and catching these objects.
Test your knowledge of exception handling in Java with this tough, 10-question, multiple choice quiz.
Everyone who codes Java EE web applications needs to pay attention to exception handling. When a program encounters an error, developers can display friendly messages for end users, which ...