In this video we continue to explore the compilation process of Kotlin. In this video we try to understand how Kotlin code that jets compiled in to JVM compatible byte code looks like when converted in Java. We learn that for the any kt file, we get a class with the name of the file followed by Kt. Any function that you might have written in the kt file will get converted in to public static final method in the generated class.
This understanding is very fundamental when we later inter operate between Java and Kotlin.
Follow me on Twitter:
Tag: convert kotlin to java, Anil Deshpande, Codetutor, Anil V Deshpande, CodeTutor-DemystifyCoding, Code Tutor-Demystify Coding, Kotlin Tutorials, Kotlin Beginners, Kotlin for Android, Understanding Kotlin to Java Conversion, How Kotlin code converted to Java looks like?, How Kotlin to Java conversion happens?
Xem thêm: https://icongnghe.org/category/pc