Question: Please solve 1 and 2 separately . Question 2: (10 marks] Based on the classes of Part 3 - Question 1, Given the following code
Please solve 1 and 2 separately.
![Please solve 1 and 2 separately. Question 2: (10 marks] Based on](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f510429a212_51466f510420fa35.jpg)

Question 2: (10 marks] Based on the classes of Part 3 - Question 1, Given the following code which displays the following Gul application: public void start (Stage primaryStage) { //Missing Code (1): Initialization Final Exam Section mySection = Label idL = Student ID Label nameL = Name Label gpal = GPA TextField idTF = TextField nameTF = Add Student TextField gpaTF = Button addB = GridPane pane = primaryStage.setTitle ); pane.addColumn (0, idl, namel, gpal, addB); pane.addColumn(1, idrs, namets, gpaTF); Scene scene = new Scene (pane); primaryStage.setScene (scene); primaryStage.show(); //Missing Code (2): clicking on the button TERRESTRE 1. Complete the first missing code to initialize the UI controls. (4 marks) 2. Complete the second missing code such that when the user fills the required information and clicks on the button "Add Student", a Student will be added to the object mySection. (6 marks) A- B 2 U S X2 x2 1 + ***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
