Nullable type
From Wikipedia, the free encyclopedia
| The introduction to this article provides insufficient context for those unfamiliar with the subject. Please help improve the article with a good introductory style. |
In most programming languages object references or pointers can be set to NULL, meaning that the pointer points to nowhere or that no object is assigned. For value types like integers and booleans such behavior is mostly not possible. Nullable Type support allows for the programmer to make value types NULL. This can be very useful when working with databases, because it's possible that the database returns no result for a query. A language with Nullable Type support can then return a NULL value.

