Question: Listing 32.2, FindGrade.java, presented a program that finds a student?s grade for a specified course. Rewrite the program to find all the grades for a
Listing 32.2, FindGrade.java, presented a program that finds a student?s grade for a specified course. Rewrite the program to find all the grades for a specified student, as shown in Figure 32.29.
Listing



SSN 444111111 Stevenson K John's grade on course Intro to Java I is D Stevenson K John's grade on course Intro to Java II is F Stevenson K John's grade on course Database Systems is A Show Grade Show Grade SSN 444111119 no courses found for this SSN 3 courses found 1 import javafx.application.Application; 2 import javafx.scene. Scene; 3 import javafx.scene.control.Button; 4 import javafx.scene.control.Label; 5 import javafx.scene.control.TextField; 6 import javafx.scene.layout. HBox; 7 import javafx.scene.layout.VBox; 8 import javafx.stage.Stage; 9 import java.sql.*;
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
Program Plan Create a class FindAllGrades which extends Application class Create text field to take SSN input from user Create text area to display the grades of the student Create a label to show sta... View full answer
Get step-by-step solutions from verified subject matter experts
