instanceof Java Keyword Tutorial #90

Описание к видео instanceof Java Keyword Tutorial #90

$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h

The instanceof keyword returns true if what's on the left is a class, subclass or interface of what's on the right. Like this:

someObject instanceof someClass;

This lets you quickly check if an object is related to another class or interface! I honestly don't use it very often, but it can be very helpful for certain situations.

I hope you enjoyed this instanceof java 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

Комментарии

Информация по комментариям в разработке