Checking Equality in Java ( == vs equals method )

preview_player
Показать описание

Specifically, we discuss primitive types including int, double, and boolean. Also included are explanations for the array class, ArrayList class, and String class.

Aligned to AP Computer Science A.

#Java #JavaTutorial #JavaTutorials
Рекомендации по теме
Комментарии
Автор

These videos are amazing and help me understand concepts that I didn't even know existed. Thank you bill!

foamersimpson
Автор

Seems like there is a typo in 11:00 .. the quotation is not closed inside the parentheses of the println method in the second if statement! Your video is helping me a lot Thanks ^^

sergeiflozov
Автор

Really liked your video.. Super awesome explanations with just the right amount of info so a person watching the video isn't flooded !

abhisheknagarkar
Автор

God bless you, I've been racking my brain against this for hours and this video was exactly what I needed. Very clear presentation. Your "Primitive vs Reference Type Objects in Memory" was also very helpful. Thanks a lot!

glokta
Автор

7:44 can anyone tell me why it returns false, , , but in Arraylist it returns true..

RakibHasan-
Автор

Hi Bill, can we initialize arraylist like this?
List<String> myList = new ArrayList<String>();

I mean is this the right way?

cheribgh
Автор

7:50 mistake on line a.equals(c) will be true.

littlelumos-tv
visit shbcf.ru