The null keyword

The null keyword in java programming
language is a reserved word that is used to represent no value. Keywords
are basically reserved words which have specific meaning relevant to a compiler.
Syntex: Here is the syntax that displays
how to declare and define null values in java programming language.
|
Integer
a;
a
= null;
String str;
if (str != null)
{
<statements>
}
|
Note: Here are some points that must
be considered while declaring and assigning a value to a variable.

|