Computers and Technology

Suppose you have to design a text editor class (TextEditor) that should benefit from multiple variants of a spell checking algorithm. Users of the TextEditor class would have to supply custom versions of the spell cheking algorithm to support spelling in different languages.

a) What design pattern would you use and why ?
b) Write the UML class diagram for the design pattern as it applies to this problem.
c) Write a table that lists the relationship between the names from the identified design pattern and the classes/interfaces from your problem.
d) Write the skeleton Java code for the design: definitions for classes with instance variables and methods as detailed as we can from the problem description.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 21:30, shunna33
How is a wan different than a lan? both connect computers, but only wan users don’t need the same operating system. both are peer-to-peer networks, but only a wan requires networking hardware. both network computers, but only a wan can cover larger geographical ranges. both connect computers to the internet, but only wan connects to the cloud.
Answers: 1
image
Computers and Technology, 24.06.2019 23:30, clairajogriggsk
What is the opening page of a website called? a. web page b. landing page c. homepage d. opening page
Answers: 1
image
Computers and Technology, 25.06.2019 08:10, ilovecatsomuchlolol
Which of the following is a difference between the systems development life cycle (sdlc) and extreme programming (xp)? the sdlc model has a separate planning and analysis phase, whereas xp combines both the phases into one phase. in the sdlc model, changes cannot be made to a system once it is delivered to the user, whereas the xp method delivers the system to the users and then make changes suggested by the user. the sdlc model develops an entire system at once, whereas xp uses incremental steps to improve an information system's qualitydevelopers following the sdlc model cannot go on to the next phase until the current phase is finished, whereas in xp, developers can move to any phase from the current phase.
Answers: 1
image
Computers and Technology, 25.06.2019 08:30, kammie89
How do i comment on answers? there's one answer i'm confused about but i don't know how to comment on it
Answers: 2
Do you know the correct answer?
Suppose you have to design a text editor class (TextEditor) that should benefit from multiple varian...

Questions in other subjects:

Konu
Mathematics, 06.05.2021 15:50
Konu
Mathematics, 06.05.2021 15:50