Java Null Keyword – How To Use Null in Java #44
31.3K views on YouTube
$1,500 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE1500. See if you qualify for the JOB GUARANTEE! 👉 https://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: https://youtube.com/playlist?list=PL59LTecnGM1NRUyune3SxzZlYpZezK-oQ&si=6OSbyiJxFsTjqL_9
Free Tips: https://bit.ly/3U6HXcb
Disclosure: Springboard link provided is linked to my affiliate account & supports the channel.
Alex Lee