about | help | code help+videos | done | prefs |
Write the method called “changeMyCase”. This method receives a string and returns a String which every lower case letter is changed to upper case and every upper case is changed to lower case. In the given string. Given: I Love Java – this would return i lOVE jAVA. We will assume the words are separated by just one space... No beginning or ending space characters. changeMyCase("I Love Java") → "i lOVE jAVA" changeMyCase("Math Is For Champions") → "mATH iS fOR cHAMPIONS" changeMyCase("What a good day") → "wHAT A GOOD DAY" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 161
Copyright Nick Parlante 2017 - privacy