Рет қаралды 27,428
$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
The java null keyword lets you make a String or object empty. In java, null is super important, and in this video, I teach you all about it!
String a = null;
Now if you try to use a method on "a", you will get a null pointer exception. You can't make a primitive type null.
I hope you enjoyed this java null keyword tutorial!
Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
Free Tips: bit.ly/3U6HXcb
Disclosure: Springboard link provided is linked to my affiliate account & supports the channel.
Alex Lee