Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Working with Nulls in Java 11

Learn the best practices and techniques to handle nulls effectively in Java.

Intermediate
1h 13m
(106)

Created by Esteban Herrera

Last Updated May 17, 2022

Course Thumbnail
  • Course

Working with Nulls in Java 11

Learn the best practices and techniques to handle nulls effectively in Java.

Intermediate
1h 13m
(106)

Created by Esteban Herrera

Last Updated May 17, 2022

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

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.

Working with Nulls in Java 11
Intermediate
1h 13m
(106)
Table of contents

About the author
Esteban Herrera  - Pluralsight course - Working with Nulls in Java 11
Esteban Herrera
44 courses 4.3 author rating 1078 ratings

Esteban Herrera has more than twelve years of experience in the software development industry. Having worked in many roles and projects, he has found his passion in programming with Java and JavaScript. Nowadays, he spends all his time learning new things, writing articles, teaching programming, and enjoying his kids.

Get started with Pluralsight