为什么80%的码农都做不了架构师?>>> //if 语句的使用 val x = 1 val a = if(x>0) 1 else 0 println(a) 转载于:https://my.oschina.net/repine/blog/533442