Skip to content

Switch II Challenges: Add return to method enemy#116

Merged
bowbahdoe merged 2 commits intoTogether-Java:developfrom
Maia-Everett:switch_ii_challenges
Sep 2, 2025
Merged

Switch II Challenges: Add return to method enemy#116
bowbahdoe merged 2 commits intoTogether-Java:developfrom
Maia-Everett:switch_ii_challenges

Conversation

@Maia-Everett
Copy link
Contributor

The challenge is to add yield statements to a switch expression, but the body of the method enemy actually uses a switch statement. I've added a return to convert it to a switch expression so the challenge makes sense.

@Maia-Everett Maia-Everett requested review from a team as code owners August 30, 2025 17:47
@bowbahdoe bowbahdoe merged commit f15d69f into Together-Java:develop Sep 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants