2020-02-21
阅读量:
813
scala中的Trait关键字
train 相当于定义了一个接口 接口子类中必须重写
train cart {
def cat(x: String): Unit = {
}
def dot(age: Int): Unit = {
}
}
0.0000
0
4
关注作者
收藏
评论(0)
发表评论
暂无数据
推荐帖子
0条评论
0条评论

