Create a method that takes in a String as a parameter.
Store the String in an array, one character at a time.
Using the array- create a new String where all
the characters that occur more than once
, are replaced with a Capital letter.
public class UnitSixRetake
Need help with your own assignment?
Our expert writers can help you apply everything you've just read — to your actual assignment.
Get Expert Help Now →