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
Get step-by-step solutions from verified subject matter experts
