about | help | code help+videos | done | prefs |
Write the method called “capitalizeMe”. This method receives a string and returns a String which every lower case letter from the second parameter is changed to upper case and all other letters lower case. In the given string. Given: I Love Java , a – this would return: i love jAvA. We will assume the words are separated by just one space... No beginning or ending space characters. capitalizeMe("I Love Java", "a") → "i love jAvA" capitalizeMe("Math Is For Champions", "a") → "mAth is for chAmpions" capitalizeMe("What a good day", "o") → "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: 110
Copyright Nick Parlante 2017 - privacy