What Does Null Mean? - Intro to Java Programming

What Does Null Mean? - Intro to Java Programming

Udacity

9 лет назад

29,261 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Ruben-ho9jd
@Ruben-ho9jd - 27.01.2023 08:17

statement.contains("No comment");

statement.isEmpty();

statement == null;

Ответить
@user-kn7cm7mf3o
@user-kn7cm7mf3o - 16.03.2022 21:26

string statement = ........;

if(statement = NULL)
{
System.out.println("the mayor said nothing ");
}
else if (statement != NULL)
{
System.out.println("the mayor said "no comment " ");
}
else
{
System.out.println("the reporter didn't make it ");
}

Ответить
@twiceimpact126
@twiceimpact126 - 23.05.2021 08:10

im just trying to help my friend with minecraft lol

Ответить
@peteradams-agresti6853
@peteradams-agresti6853 - 26.11.2020 03:20

I liked how precise it was thank you!

Ответить
@immortalmonsterhybrid975
@immortalmonsterhybrid975 - 07.11.2020 17:06

nicely put but it be nice if there were more examples i will keep searching explenation.

Ответить
@eliaszakialkhatary6639
@eliaszakialkhatary6639 - 01.06.2020 23:04

Thank you so much this helped me aloooooooooooot thx

Ответить
@mitchellcamilleri2032
@mitchellcamilleri2032 - 01.05.2020 10:59

So it would be:

String MayorComment = "no comment";

String MayorComment1 = null;

I haven't really understood the test yet but I have understood the way null value can change, ( I hope it's right)

I understand by the CLI alot so it would be like:

String MayorComment = Null;
System.out.println (MayorComment);
MayorComment= "No comment";
System.out.println (MayorComment);

That would give me:
Null
No Comment

Right? 😅

Im also trying to understand that if string is a Variable and Null also, did this program work with two variables?

Ответить
@user-hh2mo7mq2n
@user-hh2mo7mq2n - 19.03.2020 14:27

Fun fact: null means zero in estonian

Ответить
@primc6962
@primc6962 - 20.11.2017 11:32

good video dude

Ответить
@resared8538
@resared8538 - 22.06.2017 20:38

Thanks

Ответить
@brandonwillis6306
@brandonwillis6306 - 06.10.2015 00:54

I understood what null was by the end of this video. Sorry it wasn't "FUN" Enough for the rest of you. Thank you for getting your point across and ending the video, I can now proceed to do better things with my time.

Ответить
@greatsouthwesttrains3310
@greatsouthwesttrains3310 - 14.08.2015 04:55

You are a boring idiot and Null

Ответить
@iamnathan2628
@iamnathan2628 - 11.07.2015 08:59

Whao guys i now know the dislike botton works

Ответить
@soulhype2436
@soulhype2436 - 05.07.2015 20:55

you are boring

Ответить