| about | help | code help+videos | done | prefs |
replaceChar() -- You are given a String and a character, and want to replace each occurrence of the character in the String with '*'. Your method should return that modified String. replaceChar("foo", "o") → "f**" replaceChar("yellow balloon", "o") → "yell*w ball**n" replaceChar("capital", "a") → "c*pit*l" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy