Slide 19
Slide 19 text
0CKFDU
+BWB͔Βݟͨ߹
public class KotlinObjectFromJavaTest {
@Test
public void KotlinObject() {
Assert.assertEquals("Hello Kotlin!", KotlinObject.INSTANCE.hello());
Assert.assertEquals("Hello Kotlin!", KotlinObject.INSTANCE.hello2());
}
@Test
public void KotlinObject2() {
Assert.assertEquals("Hello Kotlin!", KotlinObject2.hello());
Assert.assertEquals("Hello Kotlin!", KotlinObject2.hello2());
}
}
,PUMJO0CKFDUHFU*OTUBODF
IFMMP
ͱॻ͖͍ͨ