Vidyalelo
Computer Science · Q28

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 28

Q28

What about Java Interoperability?

A.
Kotlin can quickly call the Java code, while Java cannot access the code written in Kotlin.
B.
While Kotlin executes on JVM, it cannot interoperate with Java.
C.
Kotlin offers a compatibility layer for Java interoperability which comes with some runtime costs.
D.
Kotlin can quickly call the Java code and vice versa.
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board