A Brief example to see how Kotlin can work with Java at the same time.
We have done a Kotlin class and a Java class. Kotlin class defines several examples of Kotlin functions and the Java class defines a simulated wrapper function to pass an anonymous function through Java.
We have used Android Sutudio 3.