Go with kotlin, java is a terrible choice for learning android in 2023
Kotlin has been declared official language for android by google, java might be good for other stuff like backend but when it comes to android, kotlin has many advantages over java like
Code written in kotlin is much less and easy to understand than java. Just see the button click listner code in both languages on internet
Kotlin has coroutines which easily allow you to run asynchronous tasks. In java it used to be quite hard
Kotlin provides different types of classes and error safety checkings which were not available in java
Although when it comes to the app speed, java app runs around 16% faster than kotlin app which is not a big difference, you won't even notice it, so go with kotlin, the community is already growing, and so are the jobs for kotlin android developers. Happy Coding :)
Acutely succinct! Brilliant exposition on a topic that's seldom written about. I'm a beginner and have learnt JAVA do you think there are ample projects out there to practice Android development using Kotlin as opposed to JAVA which has many open-source projects to learn from?
As of now I'm kind of confused whether to learn Android development with JAVA or Kotlin. The former at least has a huge community support and n number of projects to emulate and learn from as opposed to the latter. So could you please enlighten me with your views on the topic.I'd really appreciate your kind gesture.Thanks in advance.