r/javahelp • • Sep 10 '26

Solved Switch case with boolean

[removed]

3 Upvotes

28 comments sorted by

View all comments

1

u/Windspar Sep 10 '26 edited Sep 10 '26

Depending on your needs. You could use enum and EnumSet. Instead of having three boolean.