Question: Write a method that hides the characters in a string, yielding a string of equal length where each character is replaced by a *. For

Write a method that hides the characters in a string, yielding a string of equal length where each character is replaced by a *. For example, the call hidecharacters ( "secret") should return the string "******
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
