Advanced Java - JDBC and Web Development
Covers JDBC database connectivity and JSP web application development
Questions
Question 1 Multiple Choice (Single Answer)
Which of the following provides a means for retrieving column values from the current row?
- get()
- getXXX()
- post()
- init()
- service()
Question 2 Multiple Choice (Single Answer)
The element that contains the content of another resource in the web application before the contents generated by a JSP is
- include-prelude
- include-code
- el-enabled
- import
- session
Question 3 Multiple Choice (Single Answer)
Which of the following is the most appropriate on a corporate network, where client installation is not a major problem?
- JDBC-ODBC bridge plus ODBC driver
- Native-API partly Java driver
- Native protocol pure Java driver
- JDBC net pure Java driver
- JDBC URL
Question 4 Multiple Choice (Single Answer)
Which of the following HTTP response codes represents that everything has succeeded and you have a valid response?
- 200
- 401
- 402
- 1xx
- 3xx
Question 5 Multiple Choice (Single Answer)
Which of the following contains all the rows, which satisfies the conditions in an SQL statements and provides access to the data in those rows through a set of get methods?
- Connection object
- JDBC URL
- Cursor
- Column
- ResultSet