CIW
1D0-441 · Question #80
1D0-441 Question #80: Real Exam Question with Answer & Explanation
Sign in or unlock 1D0-441 to reveal the answer and full explanation for question #80. The question stem and answer options stay visible for context.
Question
Consider the following code segment: 1. ResultSet rs = s.executeQuery(SELECT Student_ID, Activity + 2. FROM Activities + 3. WHERE Fee >0); 4. 5. while(rs.next()) { 6. String s_num = rs.getString(Student_ID); 7. String act_name = rs.getString(Activity); 8. } What is the purpose of the next method used in this code segment?
Options
- ATo execute the next SQL statement
- BTo move to the next row in the Activities relation
- CTo move the result set cursor to the next row
- DTo remove the result set cursor to the next column
Unlock 1D0-441 to see the answer
You've previewed enough free 1D0-441 questions. Unlock 1D0-441 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.