Interoperability

You can call java functions from kotlin and kotlin functions from java. you can have both java files and kotlin files in one project.

Java file execution
When we compiled java file the java compiler will generate .class file we call it as byte code. this bytecode is executed by the jvm by using some libraries.


Kotlin file Execution
When we compiled kotlin file the compiler will generate .class file we call it as byte code. this byte code is executed by the jvm by using some libraries.





Comments