X503: Review - Wabbajack

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 Answer:

Select one answer:


Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.