Introduction
Sometimes you want to use Java code inside your Kotlin program without extra work. Kotlin lets you call Java code easily, so you can mix both languages smoothly.
You have existing Java libraries and want to use them in your new Kotlin app.
You want to reuse Java code without rewriting it in Kotlin.
You are working on a project with both Java and Kotlin files.
You want to call Java methods or classes directly from Kotlin.
You want to gradually convert a Java project to Kotlin.