Multiple Choice
What statement will return the value of a given key from the configuration file? Assume props is of type Properties.
A) String driver = props.getProperty("database.properties") ;
B) Connection conn = SimpleDataSource.getProperty("database.properties") ;
C) String driver = props.getProperty("jdbc.driver") ;
D) Properties props = SampleDataSource.init("jdbc.driver") ;
Correct Answer:

Verified
Correct Answer:
Verified
Q65: An important part of database processing is
Q66: Which Java statement connects to a database
Q67: Based on the table below, the query
Q68: What is the main purpose of the
Q69: What does the execute method return?<br>A)ResultSet<br>B)Query<br>C)RecordSet<br>D)boolean
Q70: In the table below, the _ correspond(s)
Q71: Based on the table below, the SQL
Q72: Based on the table below, which of
Q73: In jdbc.URL, the acronym URL stands for:<br>A)Universal
Q74: The _ class has a next method