@main def main(): Unit = val s = "scala" // capitalize upper-cases only the first char println(s.capitalize) // toList yields a List[Char] println(s.toList)
upper-case the first char