Kotlin Online IDE & Code Editor for Technical Interviews
Running Kotlin 1.6 - IntelliSense is enabled
Our Kotlin environment is built on top of our Java environment, giving you access to any libraries we have installed there, too.
For example, to run a JUnit test in Kotlin:
import org.junit.*;
import org.junit.runner.*;
fun main(args: Array<String>) {
JUnitCore.main("Solution");
}
class Solution {
@Test
fun testNoop() {
Assert.assertTrue(true);
}
}
Code language: Kotlin (kotlin)