Which of the following values can be replaced in the place of 1 and 2 belowStatement stmt = con.createStatement(1, 2);

A) ResultSet. TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY
B) ResultSet. TYPE_SCROLL_INSENSITIVE , ResultSet. CONCUR_UPDATABLE
C) ResultSet. CONCUR_UPDATABLE,ResultSet. TYPE_SCROLL_SENSITIVE
D) ResultSet. CONCUR_UPDATABLE,ResultSet. TYPE_FORWARD_ONLY

Showing Answers 1 - 2 of 2 Answers

sravan

  • Jun 30th, 2006
 

A and B

because, the createStatement() method takes ResultSet Type as 1st argument and concurrency as 2nd argument. we cannot alter this.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions