I was doing my homework (Generate Roman Numerals from numerical input from 1-10), and in doing so, I made a switch statement. My question is how do I return to the top of a switch statement if none of the input is selected in a case? There was nothing about it in our textbook nor could I find anything in the java documentation. Is this just something that cannot happen?
I was doing my homework (Generate Roman Numerals from numerical input from 1-10), and
Share
you can
breakfrom in case or can writereturnstatement if it is method.