I'm just working with stacks of strings now and was wondering if would be possible to have an if-else statement withing a switch case?
Thanks :)
Printable View
I'm just working with stacks of strings now and was wondering if would be possible to have an if-else statement withing a switch case?
Thanks :)
Sure you could have anything in there, but if the code get to big or unwieldy, I'd recommend refactoring it out into a method.
Ok, thanks for your quick reply :)