Null Keyword in Java (Tutorial)
Full Java Course: https://course.alexlorenlee.com/courses/learn-java-fast
If you're new to programming, I HIGHLY RECOMMEND solving challenges on Edabit: https://edabit.com/?ref=alexlee
I recommend installing Tabnine autocomplete on your IDE (free and saves you time):
https://www.tabnine.com/get?lang=java&utm_source=youtube.com&utm_medium=Ins&utm_campaign=AlexLee
Disclosure: Edabit and Tabnine links provided are linked to my affiliate accounts & support the channel.
The null keyword in java lets you make a String or object empty.
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 null java tutorial!
Free tips and programs: http://alexlorenlee.com
Try my Java course for free: https://course.alexlorenlee.com/courses/learn-java-fast
Recommended Channels to Subscribe to
Career Karma: https://youtube.com/channel/UCkCwv67-HTCzIhxLG8aHOQQ
TheNewBoston: https://youtube.com/user/thenewboston
~
https://discord.com/invite/Yk3uqST
https://instagram.com/alexlorenlee
https://youtube.com/channel/UCLkeDGcXfiKlN2imazwkg4A (2nd channel)
Alex Lee
Видео Null Keyword in Java (Tutorial) канала Alex Lee
If you're new to programming, I HIGHLY RECOMMEND solving challenges on Edabit: https://edabit.com/?ref=alexlee
I recommend installing Tabnine autocomplete on your IDE (free and saves you time):
https://www.tabnine.com/get?lang=java&utm_source=youtube.com&utm_medium=Ins&utm_campaign=AlexLee
Disclosure: Edabit and Tabnine links provided are linked to my affiliate accounts & support the channel.
The null keyword in java lets you make a String or object empty.
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 null java tutorial!
Free tips and programs: http://alexlorenlee.com
Try my Java course for free: https://course.alexlorenlee.com/courses/learn-java-fast
Recommended Channels to Subscribe to
Career Karma: https://youtube.com/channel/UCkCwv67-HTCzIhxLG8aHOQQ
TheNewBoston: https://youtube.com/user/thenewboston
~
https://discord.com/invite/Yk3uqST
https://instagram.com/alexlorenlee
https://youtube.com/channel/UCLkeDGcXfiKlN2imazwkg4A (2nd channel)
Alex Lee
Видео Null Keyword in Java (Tutorial) канала Alex Lee
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![This Keyword in Java - How to use "this"](https://i.ytimg.com/vi/CSWrefLneXE/default.jpg)
![Learn Java in 14 Minutes (seriously)](https://i.ytimg.com/vi/RRubcjpTkks/default.jpg)
![How to learn to code (quickly and easily!)](https://i.ytimg.com/vi/R2pIutTspQA/default.jpg)
![](https://i.ytimg.com/vi/iaWhnfdBMWs/default.jpg)
![instanceof Java Keyword Tutorial](https://i.ytimg.com/vi/wIvDgsUHQVo/default.jpg)
![Null Pointer Exception Java Fix](https://i.ytimg.com/vi/EIDOQS6x0OQ/default.jpg)
![](https://i.ytimg.com/vi/Mfy9pmR3B4M/default.jpg)
![Java Optionals | Crash Course](https://i.ytimg.com/vi/1xCxoOuDZuU/default.jpg)
![What Does Null Mean? - Intro to Java Programming](https://i.ytimg.com/vi/Fj-cmQ55J5Y/default.jpg)
![Java GUI Tutorial - Make a GUI in 13 Minutes](https://i.ytimg.com/vi/5o3fMLPY7qY/default.jpg)
![Java toString Method Tutorial - Learn How To Use toString](https://i.ytimg.com/vi/d08oJlwVgyo/default.jpg)
![Getters and Setters - Learn Getters and Setters in Java](https://i.ytimg.com/vi/6wVmqY-CrGM/default.jpg)
![Static in Java - How to use the Static Keyword](https://i.ytimg.com/vi/yn9cDLVr_wk/default.jpg)
![Java Classes - How To Use Classes in Java](https://i.ytimg.com/vi/vjjjGkXpX_I/default.jpg)
![Java: Read a CSV File into an Array](https://i.ytimg.com/vi/-Aud0cDh-J8/default.jpg)
![What is null and a null pointer exception? (Java Tutorial)](https://i.ytimg.com/vi/7tuK9UgCSjs/default.jpg)
![InputMismatchException](https://i.ytimg.com/vi/xH0nGFt7Bbs/default.jpg)
![How I Became A Software Engineer Without Computer Science Degree | Amazing Story](https://i.ytimg.com/vi/WAtcwmRYXDc/default.jpg)
![Java Enum - Make Your Own Enum](https://i.ytimg.com/vi/LYKHxwQ0QH8/default.jpg)
![Array of Objects in Java Tutorial - How To Make An Array of Objects](https://i.ytimg.com/vi/1hUUsuDfmSw/default.jpg)