Question: Using Java: Assignment 1 : Build a simple class called DBTester.java. This class should have only one method, main method. In the main method you
Using Java:
Assignment 1: Build a simple class called DBTester.java. This class should have only one method, main method. In the main method you should read in all of the rows of data from the Instructors Table in the Registration Database, then print out this data. Follow the steps outlined in class. Remember to use try-catch blocks for all database access code. The example in the book does not use Try-catch blocks, but you should.
Here is the database:
| ID | FirstName | LastName | Street | City | State | Zip | Office | |
|---|---|---|---|---|---|---|---|---|
| 1 | Frank | Smith | 120 State St. | Chicago | IL | 60989 | B601 | frank@yahoo.com |
| 2 | Mary | Slater | 200 Mail St. | Atlanta | GA | 30981 | B221 | mary@hotmail.com |
| 3 | Susan | Mitchell | 410 Amsterdam Ln. | Miami | FL | 12390 | F1122 | susan@bellsouth.net |
| 4 | Tony | Wilson | 123 Main St | Atlanta | GA | 30060 | F1123 | tw@yahoo.com |
| 5 | Jennifer | Watson | 56 Peachtree St | Atlanta | GA | 31103 | B299 | jwatson@hotmail.com |
| 6 | Bill | Jones | 1313 Mockingbird | Dallas | TX | 65432 | F1154 | billj@hotmail.com |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
