Create a main method for the class DatabaseManager that prints out the ¯rst name, last name and age of all the people who are under 30 in the database who's ¯rst name starts with the letter 'T'.
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 " ) ;
// t e s t a query
dbManager . tes tQuery ( " S e l e c t FirstName , LastName , Age From Person " +
"Where Age < 30 AND FirstName LIKE 'T%'" , 3 ) ;
}
```
Computer Science & Information Technology
You might also like to view...
GUI programs are __________ because they respond to the actions of the user.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Why should you try to avoid using video on the Web?
What will be an ideal response?
Computer Science & Information Technology