[Solved] Assigning Variable Types to numbers java
Your hasAnimals method needs to return a boolean value i.e. true or false based on the value of the type variable. You’re .. kind of on the right track, but you’re not honoring the requirements of the method. It shouldn’t print anything, and it shouldn’t return type because type is an int and not the … Read more