Java vs Kotlin : Should we all prefer to use Kotlin instead of Java for Android development ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Java vs Kotlin : Should we all prefer to use Kotlin instead of Java for Android development ?

I've been hearing of Kotlin alot nowadays . Is it really a complete alternative for Java ? What are its pros and cons ?

27th Jul 2017, 6:02 AM
Amaan
Amaan - avatar
6 Answers
+ 8
Kotlin was made to be a more convenient Java (really). Kotlin was officially supported by Google. Java code can run Kotlin code and vice versa. So with that said, I think you should use Kotlin where possible, if it's convenient for you. I'm almost certain Kotlin will replace Java eventually.
27th Jul 2017, 6:49 AM
Ahri Fox
Ahri Fox - avatar
+ 8
@Nevil learn Java first, then learning Kotlin will be easier, then you can make the switch.
30th Jul 2017, 11:22 AM
Ahri Fox
Ahri Fox - avatar
+ 1
Google now support kotlin officialy for android development. kotlin supposed to be more easier than java ,and to be an alternative of java(which is supported by SUN Microsystems).
28th Jul 2017, 7:28 PM
NetMan
NetMan - avatar
+ 1
But what makes think twice about Kotlin is that there aren't much sources and platforms to learn Kotlin but in case of Java there are tons of sources available.
29th Jul 2017, 12:44 AM
Amaan
Amaan - avatar
0
j2se will enough to learn for kotlin?
30th Jul 2017, 4:30 PM
Rajnibala Yadav
0
Kotlin is the new enemy for Java, but u know what? without Java kotlin never exist, so learn Java
11th Aug 2017, 12:43 AM
DNABIRONG
DNABIRONG - avatar