除夕快乐
package com.chapter01.hanshu object Year { def main(args: Array[String]): Unit = { var year = "新年快乐" println("新年快乐") printf("%s ",year) println(s"$year") } }