This exercise is worth a total of 5 points. To receive full credit, you will need to place the Java code you added or changed in Example2 into the Student Response box. You should also include the output from your execution of the Example2 program. Once you have completed your answer, you will submit it.
You have had some time to review the use of
Statements
and now it is time to gain experience using its
executeUpdate()
method. The purpose of this Example is to provide you the opportunity to demonstrate what you have learned about executing queries.
You will need to modify the Example2 program to add the following record to the HOSPITALS table.
10203,'Hospital e Materindad', 'Mata Grosso', 'Cuiaba',9.0