17 lines
250 B
Kotlin
17 lines
250 B
Kotlin
// FILE: Test.java
|
|
public class Test {
|
|
public static final String FOO = "test";
|
|
}
|
|
|
|
// FILE: anotherTest.kt
|
|
package foo
|
|
|
|
val s: String = "test"
|
|
|
|
// FILE: test.kt
|
|
fun ff() {
|
|
val a = Test?.FOO
|
|
val b = foo?.s
|
|
System?.out.println(a + b)
|
|
}
|