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?

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?

1.Val sorted = fibonacci().skip(3).take(6).sortedDescending().toList()

2.Val sorted = fibonacci().skip(3).take(6).sortedByDescending().toList()

3.Val sorted = fibonacci().skip(3).limit(6).sortedByDescending().toList()

4.Val sorted = fibonacci().drop(3).take(6).sortedDescending().toList()


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!