package com.wyh.day01 /** * 1、代码格式化的快捷键 ctrl+alt+L * 2、scala查看源代码的快捷键 ctrl+b */ object ScalaLookSource { def main(args: Array[String]): Unit = { var arr = new Array[Int](10) for (elem <- arr) { println("elem=" + elem) } } }