0
/ 10
The method wabbajack()
is defined as follows:
public String wabbajack(String input) { if (input.length() < 5) { return "Rabbit"; }...
The method wabbajack()
is defined as follows:
public String wabbajack(String input) {
if (input.length() < 5) {
return "Rabbit";
} else if (input.length() > 7) {
return "Demon";
} else {
return "Sweetroll";
}
}
What is the result of wabbajack("Human")
?
Your feedback will appear here when you check your answer.