ProAnswers.org

Is null a keyword in java?

There is no null keyword present in java, The null is value not a keyword.

No, null is not a keyword. The null is a literal similar to true and false in java, but it is a character string that is treated specially by the compiler if the compiler encounters it in a java source file. It treated as a reserved word in java language.