Page 1 of 1

Given the UML class diagram of a program named SpellChecker. Assume that the classes Dictionary and Word and the method

Posted: Mon Mar 21, 2022 4:41 pm
by answerhappygod
Given the UML class diagram of a program
named SpellChecker. Assume that the
classes Dictionary and Word and the
method main have been implemented. Below are the design
specifications of the class SpellChecker.
Given The Uml Class Diagram Of A Program Named Spellchecker Assume That The Classes Dictionary And Word And The Method 1
Given The Uml Class Diagram Of A Program Named Spellchecker Assume That The Classes Dictionary And Word And The Method 1 (37.36 KiB) Viewed 49 times
a, About method SpellChecker: write the code that
implements its behaviour description.
b, About method checkSpell: write the code that
implements the behaviour description lines (1-3).
c, About method getSpellErrors: write the code that
implements its behaviour description.
d, Briefly discuss a suitable implementation strategy for
the design diagram.
Spellchecker - dict: Dictionary - spellErrors: List<Word> + Spellchecker(dict: Dictionary) + checkSpell(doc: String) + getSpellErrors(): List<Word> + <static> main(String]) Word - label: String Dictionary - entries: Map<Word, List<Word>> + Dictionaryo + addEntry( Word, List<Word>) + lookUp(Word): boolean + Word(label: String) + getLabel(): String + toString(): String