Hey guys,
I need help creating a constructor for this Class I'm implementing. The information for my entire assignment is located here: [http://nifty.stanford.edu/2006/reges-anagrams/inventory.html]
Anyways, I have this Class constructor:
LetterInventory(String data)
And I'm told that this constructor should initialize the
LetterInventory object with the frequency (number of occurrences) of each letter within the string data. Letters should be treated as case insensitive and non-letter characters should be ignored. Internally, the
LetterInventory class should store the frequencies of the 26 possible letters in an array of 26 elements. So if anyone could please help me through this, I'd really appreciate it!!