Home > Topic List > Usage of null in java

Usage of null in java

In Java, null means that a reference type variable does not point to any object. You can assign null to any reference type variable, including classes, interfaces, arrays, strings, etc. If you want to know more about null, you can read the article below this topic.