Choose the best names for the methods below:
void ______________________________________ (Robot bot) {
for (int i=0; i<4; i++) {
bot.move(100);
bot.turn(90);
}
}
JLabel ______________________________________ () {
JLabel label = new JLabel();
label.setText("STOP");
return label;
}
void ______________________________________ (int guess) {
if (guess == secretCode) {
playSound("woohoo.wav");
JOptionPane.showMessageDialog(null,"Congratulations! You cracked the safe with " + guess);
}
}
void ______________________________________ () {
while (orange.hasMorePeel) {
orange.peel();
}
}
void ______________________________________ (Person person, boolean isSleepy) {
if (isSleepy) {
person.addCoffee();
}
}