Scala List max() method with example
The max() method is utilized to find the largest element of all the elements in the stated list.
Method Definition: def max[B >: A](implicit ord: math.Ordering[B]): A
Return Type: It returns the largest of all the elements in the stated list.
My Personal Notes arrow_drop_up
Please Login to comment...