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();...


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.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here