Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
ClassActivity1 Word Layout References Mailings Review View Design Layout Tell me what you want to do Rules tMatch Fields Finish & Merge Preview OFind Recipient
ClassActivity1 Word Layout References Mailings Review View Design Layout Tell me what you want to do Rules tMatch Fields Finish & Merge Preview OFind Recipient Highlight Address Greeting Insert Merge Merge Fields Block Line Field Update Labels Results Check for Erors Wirite & Insert Fields Preview Results 0 What does the code do? public class SortMyData Linkedlist-Stringe myList int minSize int status int dataType publik SortMyDataLint status, int dataType)l 0 What changes would you have to make to add new sorting routines? myList- new LinkedListcString-) this. staturs status this dataType - dataType readDatalmyList) if (dataType1 O What changes would you have to make to remove a sorting routine? status .. 1){ sortmoust else if (status2H l else if (status3 O Sketch the UML diagram for the existing code. (it is going to be simple!) else f public void readData(LinkedList string> // Read in data here public void sortx[LinkedList myList)f 0 Now refactor the solution to use the Strategy Pattern. Show your new UML Class diagram here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started