Question: Q1. Complete the following program code to obtain an output as given below. 0: (ON); (OFF); public class Demoi extends Application public void start(Stage st){
Q1. Complete the following program code to obtain an output as given below. 0: ("ON"); ("OFF"); public class Demoi extends Application public void start(Stage st){ group = new rbi-new rb2-new rbi. set (group); rb2.set (group); Flowane fpunew FlowPane(); fp.getChildren().add(nbi); fp-getChildren().add(rb2); Scene sc-new Scene (fp. 500,see): st.setScene(sc); //display the stage public static void main(String[] args) { launch(args); Q2. Write java code to design the following screen and calculate the bonus Salary Calculation Employee ID 122 Das Py 1000 bonus 50 Calculate Bonus= 20% of Basic pay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
