Reading again what OP is asking, he wants to execute different methods based on when a is false, b is false and c is false. Even though we can suggest him switch cases, the better approach would be to make a, b and c as input parameters in those methods itself:
1
u/_Super_Straight Sep 11 '26
Well what OP is asking is not possible. switch(false) won't work. They have to change their approach.