| |
|
Use of drop in Scala list example with Code? Question Posted on 07 Oct 2022 Home >> Programming Languages >> Scala >> Use of drop in Scala list example with Code? |
Use of drop in Scala list example with Code?
Below is the syntax and a short program to understand drop in Scala list:-
Output of above code:
List(3, 5, 5, 8)
Above will drop 10 records from the list and display rest records | |
|
|
|
|