If I were to take in more than one flag from the command line, such as "java myProgram -a -b -c Hey" and each flag prompted an alteration of the word "Hey", how would I go about doing that? I tried using if-else statements but was only able to get one flag recognized at a time.
If this thread should be moved, feel free to do so, I wasn't sure what forum to put it under.