Concept Flow - Calling Kotlin from Java
Write Kotlin class/function
Compile Kotlin to JVM bytecode
Java code imports Kotlin class
Java calls Kotlin function/method
Kotlin code executes and returns result
Java receives and uses result
Java code can call Kotlin classes and functions compiled to JVM bytecode by importing and invoking them like regular Java classes.