← Quiz: Pagination and Sorting: all 10 questions
Quiz: Pagination and Sorting · Question 4 of 10
What does PageRequest.of(1, 10) request?
What does PageRequest.of(1, 10) request?
- A.The first 10 rows
- B.Rows 11 to 20 (the second page)
- C.Row number 1 to row number 10
- D.1 row, skipping 10
Answer & explanation
Correct answer: Rows 11 to 20 (the second page)
Spring Data pages are zero-based, so page 1 is the second page.
Can you get the rest right without peeking?
Take the timed Quiz: Pagination and Sorting quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →