val mylist: List[String] = List("Geeks", "For", "geeks", "is", "best") println("Last element is: " + mylist.last) > Last element is: best