Calling Kotlin code in Java is similar to calling Java code in Kotlin, except for a few things that must be considered before beginning. Let's start with a function call. To do this, create a new folder and add both Java and Kotlin files in one place:
![](https://static.packt-cdn.com/products/9781789617726/graphics/assets/618f7ab6-e3c9-4084-8a22-5ac2d95cbacf.png)