Java Null Keyword - How To Use Null in Java #44

Published: 09 July 2020
on channel: Alex Lee
31,233
927

$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:    • Full Java Course by Alex Lee  
Free Tips: https://bit.ly/3U6HXcb

Disclosure: Springboard link provided is linked to my affiliate account & supports the channel.

Alex Lee


On this page of the site you can watch the video online Java Null Keyword - How To Use Null in Java #44 with a duration of hours minute second in good quality, which was uploaded by the user Alex Lee 09 July 2020, share the link with friends and acquaintances, this video has already been watched 31,233 times on youtube and it was liked by 927 viewers. Enjoy your viewing!