Working with Nulls in Java

Go to class
Write Review

Free Online Course: Working with Nulls in Java provided by Pluralsight is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from Pluralsight. Working with Nulls in Java is taught by Esteban Herrera.

Overview
  • In this Java tutorial you will learn the best practices and techniques to handle nulls and avoid NullPointerExceptions in Java.

    How many times have you thought "this object can never be null" only to be proven wrong? In this course, Working with Nulls in Java, you'll learn best practices for effectively handling nulls and avoid NullPointerExceptions. First, you'll see what nulls mean and some common ways to deal with them. Next, you'll explore how to use annotations to check for nulls. Finally, you'll discover how to use the Null Object pattern and the Optional type to reduce unexpected exceptions even further. When you're finished with this course, you'll understand the different techniques to handle nulls effectively in Java programs.