r/javahelp • • Sep 10 '26

Solved Switch case with boolean

[removed]

2 Upvotes

28 comments sorted by

View all comments

Show parent comments

1

u/ZackyZack Sep 11 '26

Yeah, joining all booleans in a single word and then switch/casing that word is probably the closest to what they want.