Create a main method for the class DatabaseManager that prints out the first name, last name and age of all the people who are over 30 in the database or who’s last name is “Guzdial”.
What will be an ideal response?
```
/? main f o r t e s t i n g ?/
public s t a t i c void main ( S t r i n g [ ] a r g s )
{
// c r e a t e t h e d a t a b a s e manager f o r an Access d a t a b a s e
DatabaseManager dbManager =
new DatabaseManager ( ” sun . j d b c . odbc . JdbcOdbcDriver ” ,
” j d b c : odbc : p e r s o n ” ) ;
// t e s t a q u e r y
dbManager . t e s t Q u e r y ( ” S e l e c t FirstName , LastName , Age From Person ” +
”Where Age > 30 OR LastName=’ G u z d i a l ’ ” , 3 ) ;
}
```
You might also like to view...
________ is the correct way to create a new two-dimensional integer array myArray with 5 rows and 5 columns.
``` a) int myArray[][] = new int[ 5 ][ 5 ] b) int myArray[ 2 ] = new int( 5, 5 ) c) int myArray[ , ] = new int[ 5, 5 ] d) int myArray[] = new int[ 5, 5 ] ```
To hear the sound or see the border associated with a mouse-over area, you must be in Slide Show view
Indicate whether the statement is true or false
Describe an overlay tunnel.
What will be an ideal response?
When a document is printed with four colors and a spot color, the spot color is output to the separation plate that is the closest in color to the spot color.
Answer the following statement true (T) or false (F)