Question 6
Consider the Java code given below.
What will happen when the button (labelled "Press") is clicked?
The label will change to "Button Pressed'' when the button is clicked
The label remains "Start"
The code throws a runtime error
The button will disappear after clicking