Question: Which line of code shows how to call a Fibonacci function, bypass the first three elements, grab the next six, and sort the elements in descending order?
- `val sorted = fibonacci().skip(3).take(6).sortedDescending().toList()`
- `val sorted = fibonacci().skip(3).take(6).sortedByDescending().toList()`
- `val sorted = fibonacci().skip(3).limit(6).sortedByDescending().toList()`
- `val sorted = fibonacci().drop(3).take(6).sortedDescending().toList()`
Answer: The correct answer of the above question is Option D:`val sorted = fibonacci().drop(3).take(6).sortedDescending().toList()`