yet-another-kotlin-vs-java-comparison icon indicating copy to clipboard operation
yet-another-kotlin-vs-java-comparison copied to clipboard

Shows complete examples where the Kotlin code is compiled to bytecode and decompiled to Java

trafficstars

Yet Another Kotlin VS Java Comparison

This one shows complete examples where the Kotlin code is compiled to bytecode and decompiled to Java. Enabling a person familiar with Java to very quickly understand Kotlin.

Examples

The examples are organized like the examples in the Kotlin Reference.

Basics

Classes And Objects

Functions And Lambdas

Mixed