https://kotlinlang.org logo
#getting-started
Title
# getting-started
f

feng-zihao

09/13/2016, 9:06 AM
Copy code
package mcaa.wechat

import org.junit.Test

/**
 * Created by fengzh on 9/13/16.
 */
class Playground {

    fun foo(): String? {
        val x = null as String?
        return x
    }

    @Test fun test() {
        println(foo())
    }
}