Question: How do you make hot key? so the loop will stop or start if you press F1 key. boolean status = true; while (status ==

How do you make hot key? so the loop will stop or start if you press F1 key.

boolean status = true;

while (status == true){

system.out.println("Hello World");

}

how do i make the status false if have f1 been pressed

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!