ࡱ> 685e bjbj .di\di\N((xxx)!!!()*)*)*)*)*)*)$Y+.\N)x!"!!!N)((Kc)SSS!(8x()S!()SSh'h`\(Q֒W"')y)0)'|k/ k/ \(k/x\(!!S!!!!!N)N)v!!!)!!!!k/!!!!!!!!!> :  Write a Java program that either accepts words and their meanings, or displays the list of words in lexicographical order (i.e. as in a dictionary). When an entry is to be added to the dictionary you must first enter the word as one string, and then enter the meaning as separate string. A word may have more than one meaning, and may be entered at separate times. When this occurs, place each successive meaning on a separate line. This new meaning must be preceded by a dash. For example, if you enter the following words and with their meanings in the following order: Library, School, Cup, and School, then your output should be a display as shown in the Figure 1.  Figure 1. Another requirement - from time to time words become obsolete. When this happens, such word must be removed from the dictionary. Use the JOptionPane class to enter the information. Use the concept of linked list to carryout this exercise. You will need at minimum the following classes: A WordMeaning class that hold the name of a word and its meaning. A WordMeaningNode class that creates the node of information and its link field. A WordList class that creates and maintain a linked list of words and their meanings. A Dictionary class that test your classes. For the output, the program should produce two scrollable lists: The current list of words and their meanings, and The list of the deleted words. You need not list the meanings, just the words. NB. The linked list must be designed from first principle. Do not use the pre-defined class LinkedList found in java.util; nor array; nor ArrayList class. Cup a container from which we drink. Library a collection of books School a place of learning - any group of fish 0tz ! % = D F L N Q W ] ` d 5 6 7 ͌̈́hdkpCJaJh CJaJ(jhhPCJUaJmHnHuhuRhk5CJaJhPhP5CJaJhjThk5CJaJhPCJaJhuRCJaJh9CJaJhhkCJaJhCJaJhkCJaJ0 6 7 l m  k $dha$gd9 & Fdgdk $da$gd $d`a$gdP $da$gdk / 0 MNļĒh[hkhuRhuRCJaJhPCJaJmH sH huRhuRCJaJmH sH hkCJaJhL'>hkCJaJh9hbJCJaJhbJCJaJh9CJaJh9huCJaJh9h9CJaJ 0 c NugdkdhgdPdhgdbJ & Fdhgd9dhgd9,1h/ =!"#$% s666666666vvvvvvvvv666666>6666666666666666666666666666666666666666666666666hH6666666666666666666666666666666666666666666666666666666666666666662 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@_HmH nH sH tH @`@ kNormalCJ_HaJmH sH tH DA D Default Paragraph FontRiR  Table Normal4 l4a (k (No List ** !/kTOC 1CJ,/, Listing F*/*o:Style3 FFARF +wStyle1dhCJOJQJaJmH sH 2B22 +w Body TextxPM1BP +wBody Text First Indent `>R> +w Normal Indent ^PK![Content_Types].xmlN0EH-J@%ǎǢ|ș$زULTB l,3;rØJB+$G]7O٭VvnB`2ǃ,!"E3p#9GQd; H xuv 0F[,F᚜K sO'3w #vfSVbsؠyX p5veuw 1z@ l,i!b I jZ2|9L$Z15xl.(zm${d:\@'23œln$^-@^i?D&|#td!6lġB"&63yy@t!HjpU*yeXry3~{s:FXI O5Y[Y!}S˪.7bd|n]671. tn/w/+[t6}PsںsL. J;̊iN $AI)t2 Lmx:(}\-i*xQCJuWl'QyI@ھ m2DBAR4 w¢naQ`ԲɁ W=0#xBdT/.3-F>bYL%׭˓KK 6HhfPQ=h)GBms]_Ԡ'CZѨys v@c])h7Jهic?FS.NP$ e&\Ӏ+I "'%QÕ@c![paAV.9Hd<ӮHVX*%A{Yr Aբ pxSL9":3U5U NC(p%u@;[d`4)]t#9M4W=P5*f̰lk<_X-C wT%Ժ}B% Y,] A̠&oʰŨ; \lc`|,bUvPK! ѐ'theme/theme/_rels/themeManager.xml.relsM 0wooӺ&݈Э5 6?$Q ,.aic21h:qm@RN;d`o7gK(M&$R(.1r'JЊT8V"AȻHu}|$b{P8g/]QAsم(#L[PK-![Content_Types].xmlPK-!֧6 0_rels/.relsPK-!kytheme/theme/themeManager.xmlPK-!R%theme/theme/theme1.xmlPK-! ѐ' theme/theme/_rels/themeManager.xml.relsPK]     8@(  h  S Ԕ"? B S  ?Ht?J+mu#,=FNN3 z|!s~ %%FN6kk MN z56kkM(W  b-"2 )x>Y,=ENi  hh^h`hH) ^`hH) 88^8`hH) ^`hH() ^`hH() pp^p`hH()   ^ `hH. @ @ ^@ `hH.   ^ `hH.h^`OJQJo(hHh^`OJQJ^Jo(hHohp^p`OJQJo(hHh@ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohP^P`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohpp^p`OJQJo(hHh@ @ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohPP^P`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohp^p`OJQJo(hHh@ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohP^P`OJQJo(hH hh^h`hH) ^`hH) 88^8`hH) ^`hH() ^`hH() pp^p`hH()   ^ `hH. @ @ ^@ `hH.   ^ `hH.(W ENi2 )b-">Y                           ('Z@ o:PwQ-!;5]@DcIJbJuRGY@`$dsg!/kgmdkpWufTw [F<k!u9V[>uxU}+wNP@@UnknownG.[x Times New Roman5Symbol3. .[x Arial;. .[x Helvetica?= .Cx Courier New;WingdingsA$BCambria Math"qh#dGG{'^ ^ q24KK 3QHP ?sg2!xx ~Write a menu driven program that either accepts words and their meanings, or displays the list of words in lexicographical ordJoslyn A. Smith Joslyn Smith     Oh+'0$<HX p|   Write a menu driven program that either accepts words and their meanings, or displays the list of words in lexicographical ordJoslyn A. SmithNormalJoslyn Smith3Microsoft Office Word@@ >@xW^ ՜.+,0l hp  KHome K Write a menu driven program that either accepts words and their meanings, or displays the list of words in lexicographical ord Title  !"#$&'()*+,./012347Root Entry FQ֒W91Table /WordDocument.SummaryInformation(%DocumentSummaryInformation8-CompObjr  F Microsoft Word 97-2003 Document MSWordDocWord.Document.89q