Home » JAVA Programming » Java Basic » Question
  1. Which of the following is used to limit the number of rows returned?
    1. getMinRows(int k)
    2. setMaxRows(int k)
    3. setMinRows(int k)
    4. getMaxrows(int k)
    5. None of these
Correct Option: B

setMaxRows(int i) method is used to limit the number of rows that the database returns from the query.



Your comments will be displayed only after manual approval.