This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi , Can some help explaining following Q. Which J2EEpattern does JDBCResult set implement? (select 1 ans) a. Iterator b. Observer c. Facade d. Bridge Can someone tell me answer to the above question and how that pattern is impmented? Regards, Chetan Mehta
I think it should be Iterator. [This message has been edited by Vishakha Ahuja (edited August 14, 2001).]
Joined: Sep 13, 2000
The Iterator allows you to move through a list or collection of data using a standard interface without having to know the details of the internal representation of that data. According to this definition, iterator suits best as an answer because the ResultSet object lets you iterate through the entire collection using various methods like first(), last(), next().