Boolean Wrapper for The Boolean Primitive Type Value

preview_player
Показать описание
Whenever referring a Boolean object, no matter whether it wraps true or false converting that object into the boolean primitive type value will give us true... even if it wraps false.
Рекомендации по теме
Комментарии
Автор

Hi, thank you for these great videos. I'm finding them really useful. Can I ask please - the if statement returning true just means that the object exists, is that right? as opposed to it evaluating the value that the object represents.

MrRossss