Difference between == and === in Kotlin

Описание к видео Difference between == and === in Kotlin

Question: Difference between == and === in Kotlin
Answer: Discussed in the video.

In Kotlin, we have two types of equality:

• Structural equality (==): It checks for equals().
• Referential equality (===): It checks whether the two references point to the same object.

Android Interview Questions & Answers Series

Playlist:    • Android Interview Questions and Answers  

Android Interview Questions: https://github.com/amitshekhariitbhu/...

Blog: https://amitshekhar.me/blog/structura...

#androiddev #androiddeveloper #interview

Hi, I am Amit Shekhar, I have mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.

You can connect with me on:

• Twitter:   / amitiitbhu  
• LinkedIn:   / amit-shekhar-iitbhu  
• GitHub: https://github.com/amitshekhariitbhu

Read all of my high-quality blogs: https://amitshekhar.me/blog

Get Mentorship: https://amitshekhar.me

Комментарии

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