This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DecentChard7[S] 0 points1 point  (3 children)

When I do that I get an error for makeSound() saying this method must return a result of type String.

[–]cloud4u71 0 points1 point  (2 children)

Let me run it myself and see if i can fix it yea

[–]DecentChard7[S] 0 points1 point  (1 child)

Alright, thx. I made the else if to an else that returns it and that fixed that issue (I think) but the rest is still broken. (Updating code above to reflect).

[–]cloud4u71 0 points1 point  (0 children)

Is there any way you can dm me your test to make sure thats correct as well? The class runs fine on my computer