题解 | #有容乃大# Scala版本
有容乃大
http://www.nowcoder.com/practice/4712159bbc15417086d40d6c6ff94fee
> 学艺不精,不会使用Scala的求法,所以只能曲线救国,使用Java的包装类
object Main {
def main(args: Array[String]): Unit = {
println("The size of short is %d bytes.".format(java.lang.Short.SIZE / 8))
println("The size of int is %d bytes.".format(java.lang.Integer.SIZE / 8))
println("The size of long is %d bytes.".format(java.lang.Long.SIZE / 8))
println("The size of long long is %d bytes.".format(java.lang.Long.SIZE / 8))
}
}
海康威视公司福利 1102人发布
