This page is a work in progress.You can help improve it. →

What is `null`?

There have been many value types we've discussed; integers, strings, etc. there is another type we should mention.

This is the null value which means the absence of a value. Normally we don't directly write the null value when programming but it is sometimes returned by methods we use in order to indicate the lack of a result.

Key point: null represents the lack of a value.

null versus zero


© 2017 - 2021; Built with ♥ in St. Petersburg, Florida.