Conclusion. In general, because of the May 2019 announcement from Google I would recommend beginners at Android app development start with Kotlin however there are some exceptions where I think Java may be better . There are two scenarios I would recommend learning Java first for Android app development as a beginner.
Read moreIs Kotlin better than Java 2021?
In fact, we can say that Kotlin is much better than Java code in terms of security, compatibility, type inference, syntax, data classes, boilerplate code, and functional programming . At the same time, there are features similar on both Java and Kotlin, like lambda expressions, type system, and annotation processing.
Read more