1. Insert the following line immediately below line 9, which displays "Goodbye":
JOptionPane.showMessageDialog(null, "Finishing now");
Compile and run the modified program.
2. kitchenCD.start();
kitchenCD.stop();
bedroomCD.start();
bedroomCD.stop();
bedroomCD.select(3);
3. Replace 300 by 150 in line 11, then recompile and run the program.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here