Scala Mutable SortedSet max() method
In Scala mutable collections, max() method is utilized to find the largest element of all the elements in the SortedSet. Method Definition: def max: A Return Type: It returns the largest of all the elements in the SortedSet. Example #1: Scala // Scala program of max() // method import scala.collecti