Create a main method for the class DatabaseManager that prints out the last name and age of all the people who are under 30 in the database.
What will be an ideal response?
```
/* main f o r t e s t i n g */
public s tat ic void main ( St r ing [ ] args )
{
// c r e a t e the databas e manager f o r an Access databas e
DatabaseManager dbManager =
new DatabaseManager ( "sun . jdbc . odbc . JdbcOdbcDriver " ,
" jdbc : odbc : per son " ) ;
// test a query
dbManager.testQuery ( " S e l e c t LastName , Age From Person " +
"Where Age < 30" , 2 ) ;
}
```
You might also like to view...
The ____________ operator is used to destroy an object and release dynamically allocated memory.
Fill in the blank(s) with the appropriate word(s).
Match the following terms to their meanings:
I. Destination file II. Source file III. Paste link IV. Paste Special V. Excel table A. The file into which an item is pasted B. Option that pastes items as HTML, device-independent bitmap images, or links to a specified file C. Paste option that creates an updateable link between a source and destination file D. Spreadsheet that can be embedded in a PowerPoint presentation E. The original file from which an item is copied
Typically, you want to allow data entry in a field, while ensuring that the field itself cannot be changed or deleted
Indicate whether the statement is true or false
How do you quickly make a copy of a selected area and move it to a new
location on a layer? What will be an ideal response?