- 链接地址:https://blog.csdn.net/hyj_king/article/details/103695995
- 链接标题:scala_if条件表达式、while循环、for循环表达式-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:3417
文章浏览阅读301次。1、if条件表达式package com.scala.test.Testobject IfTest02 { def main(args: Array[String]): Unit = { val a:Int=60 //这种情况和java语言一样 if(a>60){ println("大于60") }else{ printl...
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除