1.不带处理方式
在scala中可以用"""的方式创建多行字符串
object HelloString{
def main(args: Array[String]): Unit = {
val str ="""hello scala
hello String
hello world"""
println(str)
}
}
1.不带处理方式
在scala中可以用"""的方式创建多行字符串
object HelloString{
def main(args: Array[String]): Unit = {
val str ="""hello scala
hello String
hello world"""
println(str)
}
}