Skip to content

Commit 9a2a9d8

Browse files
authored
Update about.md
1 parent 3b31a93 commit 9a2a9d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

concepts/nullability/about.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
In Java, the [`null` literal][null-keyword] is used to denote the absence of a value.
44

5-
[Primitive variables][primitive-data-types] in java all have a default value and therefore can never be `null`.
5+
[Primitive variables][primitive-data-types] in Java all have a default value and therefore can never be `null`.
66
By convention, they start with a lowercase letter e.g `int`.
77

8-
[Reference variables][reference-data-types] contain the memory address of an object and can have a value of null.
9-
These variables usually start with an uppercase e.g `String`.
8+
[Reference variables][reference-data-types] contain the memory address of an object and can have a value of `null`.
9+
They generally start with an uppercase letter, e.g. `String`.
1010

1111
Attempting to assign a primitive variable a value of `null` will result in a compile time error as the variable always holds a default value of the type assigned.
1212

0 commit comments

Comments
 (0)