AartiYadav Hello All, I want to know which one is better for smart cast feature between kotlin and java? According to this post https://www.interviewbit.com/blog/kotlin-vs-java/ I think Java not provide a smart cast feature but not an idea about kotlin? Can anyone explain me about smart cast feature in kotlin?