Are kotlin and java similar?

How kotlin and Java compiler works

Kotlin combines features of both object-oriented and functional programming, whereas Java is limited to object-oriented programming . Kotlin allows users to create an extension function, while Java doesn’t offer any extension functions. Kotlin doesn’t offer implicit conversions, and Java supports implicit conversions. Hope this answers your question.