Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started