摘要:
In Kotlin, you are able to extend a class. Just like add prototype in Javascript. fun toSentenceCase(a: String): String { return a[0].toUpperCase() + 阅读全文
posted @ 2020-11-01 22:20
Zhentiw
阅读(86)
评论(0)
推荐(0)
摘要:
import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import java.util.* class AgeCalculation() { fun getAge(dob: Calendar): Int { 阅读全文
posted @ 2020-11-01 22:00
Zhentiw
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号