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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!