If you ask a question if you can use kotlin files in java files and vice versa then the answer will be yes.
If you ask if you can use kotlin syntax in java files and vice versa then the answer will be negative.
To use kotlin code in a java class, you simply use the class like any other java class
tyczj source
share