setMaxRows(int i) method is used to limit the number of rows that the database returns from the query.
Previous Question Next Question
Your comments will be displayed only after manual approval.