Create three classes for the linked list

Assignment Help Basic Computer Science
Reference no: EM131056118

Create three classes for the words: An abstract class called Word, a class called Noun that inherits from Word, and a class called Verb that inherits from Word. The actual word is stored in class Word. The classes Noun and Verb should have different toString methods the return the word with either "(N)" or "(V)" appended.

Create three classes for the linked list: An abstract class called WordList which contains all the functionality of the linked list, and classes called UnsortedWordList and SortedWordList which inherit from WordList. Each of these two classes should have an insert method that adds a new word in the appropriate position in the list.

The GUI should now have two TextAreas: the one on left showing the contents of the unsorted list, and the one on the right showing the contents of the sorted list. The command window (ADD, DELETE, STOP) should function.

Create two menus for the GUI: One called File (with choices Open and Quit), and one called Display (with choices Nouns and Verbs).
File > Open: open the selected file, fill the linked lists and display them in the text areas.
File > Quit: exit the program.
Display > Nouns: clear the text areas and then display only the nouns on the lists.
Display > Verbs: clear the text areas and then display on the verbs on the list.

The input file will be in the following format: one word per line followed by either N or V in parenthesis: apple(N) peach(N) eat(V) .

Reference no: EM131056118

Questions Cloud

Identify the functionality of key code components : Identify the functionality of key code components such as what the functionality of "system.out.println" is along with other code components such as the calendar code and the semicolon.
Social media and feminism : Expand and be more specific on the example (on the hashtag example). What the hashtag is about? And how is the hashtag affected
Calculate net profit margin ratios using financial statement : Next, calculate the 12/31/15 and 12/31/14 ratios using the financial statements you printed, including all of the following:
Discuss it strategy that o-reilly media chose to implement : Discuss the IT strategy that O'Reilly Media chose to implement and whether you believe that it successfully addresses the goals of IT governance and business alignment. Has O'Reilly Media considered all of the stakeholders in this scenario? What c..
Create three classes for the linked list : The input file will be in the following format: one word per line followed by either N or V in parenthesis: apple(N) peach(N) eat(V) .
Thermodynamic data for an unknown inorganic complex : Consider the following thermodynamic data for an unknown inorganic complex at constant pressure. At what temperature does sublimation occur? Please answer in units of°C
Tennatite with a mass : Tennantite is an ore of copper with a formula of Cu12As4S13. How many moles of copper are in tennatite with a mass of 19850 grams?
Natural abundance of the lighter isotope : There are two stable isotopes of gallium; there masses are 68.9257 amu and 70.9249 amu. If the average atomic mass of gallium is 69.73 amu, what is the natural abundance of the lighter isotope?
How many carbon atoms are in the hope diamond : The Hope Diamond weighs 45.52 carats. How many moles of Carbon are in the Hope Diamond if 1 carat weighs 200 mg? How many carbon atoms are in the Hope Diamond?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd