in Education by
Which of the following is used to limit the number of rows returned? (a) setMaxRows(int i) (b) setMinRows(int i) (c) getMaxrows(int i) (d) getMinRows(int i) I have been asked this question during an interview. My question is based upon JDBC topic in chapter Java Beans & JDBC of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Correct answer is (a) setMaxRows(int i) To explain: setMaxRows(int i) method is used to limit the number of rows that the database returns from the query.

Related questions

0 votes
0 votes
    What is the range of numbers returned by Math.random() method? (a) -1.0 to 1.0 (b) -1 ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    How will you convert the returned API into an XML object? (a) SimpleElement() (b) SimpleXMLElement() ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the limit to matrices in R? (a) One dimensional (b) Two dimensional (c) Three dimensional ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the command to access the Heap size limit? (a) performance.memory. SizeLimit (b) performance.memory ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Which class is used to generate random number? (a) java.lang.Object (b) java.util.randomNumber (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What data structure should be used when number of elements is fixed? (a) Array (b) Array list (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these is an correct way making a list that is upper bounded by class Number? (a) List...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following keywords is used for throwing exception manually? (a) finally (b) try (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of the following handles the exception when a catch is not used? (a) finally (b) throw ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 25, 2021 in Education by JackTerrance
...