Syntax error Is null a keyword in Java?

Is null a keyword in Java?



No, null is not a keyword. Though they seem like keywords null, true and, false are considered as literals in Java.

Updated on: 2019-07-30T22:30:20+05:30

609 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements