What do you want to save?
Add Code snippet
New code examples
-
Kotlin 2022-03-07 04:30:37
spring boot kotlin
@RunWith(SpringRunner::class) @SpringBootTest(classes = arrayOf(KotlinDemoApplication::class), webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) class KotlinDemoApplicationTests { @Autowired lateinit var testRestTemplate: TestRestTem... Add solution -
Kotlin 2021-11-14 08:51:13
calling kotlin from java
// Kotlin class KotlinClass { val fixed: String = "base.KotlinClass" var mutable: Boolean = false } // Java KotlinClass kotlinClass = new KotlinClass(); String s = kotlinClass.getFixed(); // Uses getter of ‘val’ kotlinClass.... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5