Difference between kotlin and java | Sololearn: Learn to code for FREE!

+14

Difference between kotlin and java

Thanks

6/7/2019 6:47:40 AM

Muhammad Rashid

15 Answers

New Answer

+8

Let go back a bit to the beginning Java run on jvm which is java virtual machine it enables java to run on any machine that has the jvm, Google and Oracle has a case in court how about Google used part of java API that was copyrighted so yh it lingered for long and the reason why Google choose java for Android it cause it was the most popular language then do they wanted to make a platform where the developers don't have learn a new language to work on they just had to start writing Android apps and java was running on over 3 billion devices and it has Soo many library create .so because of the case btw Google and Oracle they where seeking for an alternative to java something still java like

+6

So jetbrains thos Guy who made the world most used ide android studio itelij idea pycharm rubymins and sooo on https://www.jetbrains.com They started writing a new language fully on java that runs on the jvm and can be interoped fully with java and fix problem java has which the popular problem was the npe null pointer exception so they made Kotlin

+5

You can also try both tutorials here.

+4

It means those language can't be compared like you saying html vs css??😁

+3

So conclusion: Kotlin is just modern java or you can call it 21st century java without java no kotlin

+3

kotlin had a new feature language interoperability we can use java in kotlin and kotlin in java

+2

Java vs Kotlin: Performance & compile time. JetBrains claims that a Kotlin application runs as fast as an equivalent Java one, thanks to very similar bytecode structure. Yet, Kotlin's support for inline functions allows a code using lambdas to run even faster than the same code written in Java.

+2

Kotlin is running on the java virtual machine!

0

Its Java without Oracle

0

0

Kotlin, being the most modern language, aggregates all the best programming practices developed to the current moment. That's why it's definitely worth trying out and thinking over!

-1

I don't know

-1

-1

-1

what is happening?