SlideShare a Scribd company logo
1 of 2
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) .
Create Word and List Classes with GUI Menus for Nouns and Verbs

More Related Content

More from buffydtesurina

Create a Problem Statement for a study that explore Compensation I.docx
Create a Problem Statement for a study that explore Compensation I.docxCreate a Problem Statement for a study that explore Compensation I.docx
Create a Problem Statement for a study that explore Compensation I.docxbuffydtesurina
 
Create a scenario that demonstrates a poor exchange of informa.docx
Create a scenario that demonstrates a poor exchange of informa.docxCreate a scenario that demonstrates a poor exchange of informa.docx
Create a scenario that demonstrates a poor exchange of informa.docxbuffydtesurina
 
Create a mobile application using Android™ Studio that saves d.docx
Create a mobile application using Android™ Studio that saves d.docxCreate a mobile application using Android™ Studio that saves d.docx
Create a mobile application using Android™ Studio that saves d.docxbuffydtesurina
 
Create a power point presentation on the subject of Banruptcy. Descr.docx
Create a power point presentation on the subject of Banruptcy. Descr.docxCreate a power point presentation on the subject of Banruptcy. Descr.docx
Create a power point presentation on the subject of Banruptcy. Descr.docxbuffydtesurina
 
Create a Microsoft PowerPoint presentation explaining the various ty.docx
Create a Microsoft PowerPoint presentation explaining the various ty.docxCreate a Microsoft PowerPoint presentation explaining the various ty.docx
Create a Microsoft PowerPoint presentation explaining the various ty.docxbuffydtesurina
 
Create a PowerPoint® presentation of 9 to 12 slides that you w.docx
Create a PowerPoint® presentation of 9 to 12 slides that you w.docxCreate a PowerPoint® presentation of 9 to 12 slides that you w.docx
Create a PowerPoint® presentation of 9 to 12 slides that you w.docxbuffydtesurina
 
Create a PowerPoint presentation to analyzes the objectives of perso.docx
Create a PowerPoint presentation to analyzes the objectives of perso.docxCreate a PowerPoint presentation to analyzes the objectives of perso.docx
Create a PowerPoint presentation to analyzes the objectives of perso.docxbuffydtesurina
 
Create a PowerPoint presentation with 12 to 15 slides that addresses.docx
Create a PowerPoint presentation with 12 to 15 slides that addresses.docxCreate a PowerPoint presentation with 12 to 15 slides that addresses.docx
Create a PowerPoint presentation with 12 to 15 slides that addresses.docxbuffydtesurina
 
Create a PowerPoint presentation that is seven slides in length, inc.docx
Create a PowerPoint presentation that is seven slides in length, inc.docxCreate a PowerPoint presentation that is seven slides in length, inc.docx
Create a PowerPoint presentation that is seven slides in length, inc.docxbuffydtesurina
 
Create a power point presentationAttached is the assignment fo.docx
Create a power point presentationAttached is the assignment fo.docxCreate a power point presentationAttached is the assignment fo.docx
Create a power point presentationAttached is the assignment fo.docxbuffydtesurina
 
Create a Policy Memo that explain and assess the advantages and chal.docx
Create a Policy Memo that explain and assess the advantages and chal.docxCreate a Policy Memo that explain and assess the advantages and chal.docx
Create a Policy Memo that explain and assess the advantages and chal.docxbuffydtesurina
 
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docx
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docxCreate a 6-slide Microsoft® PowerPoint® presentation on Aw.docx
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docxbuffydtesurina
 
Create a 12-slide Microsoft® PowerPoint® presentation, i.docx
Create a 12-slide Microsoft® PowerPoint® presentation, i.docxCreate a 12-slide Microsoft® PowerPoint® presentation, i.docx
Create a 12-slide Microsoft® PowerPoint® presentation, i.docxbuffydtesurina
 
Create a 1- to 2-page table using Microsoft® Word that address.docx
Create a 1- to 2-page table using Microsoft® Word that address.docxCreate a 1- to 2-page table using Microsoft® Word that address.docx
Create a 1- to 2-page table using Microsoft® Word that address.docxbuffydtesurina
 
Create a 10- to 15-slide presentation with detailed speaker notes. T.docx
Create a 10- to 15-slide presentation with detailed speaker notes. T.docxCreate a 10- to 15-slide presentation with detailed speaker notes. T.docx
Create a 10- to 15-slide presentation with detailed speaker notes. T.docxbuffydtesurina
 
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docx
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docxCreate 2 slides with with 150 - 200 Word Speaker Notes with corr.docx
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docxbuffydtesurina
 
Creat a Project Charter for the following attachment. I will add gro.docx
Creat a Project Charter for the following attachment. I will add gro.docxCreat a Project Charter for the following attachment. I will add gro.docx
Creat a Project Charter for the following attachment. I will add gro.docxbuffydtesurina
 
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docx
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docxCrafting Meaningful and Measurable Learning ObjectivesLearning o.docx
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docxbuffydtesurina
 
Craft an analytical paper based on the reading. Focus on what .docx
Craft an analytical paper based on the reading. Focus on what .docxCraft an analytical paper based on the reading. Focus on what .docx
Craft an analytical paper based on the reading. Focus on what .docxbuffydtesurina
 
Midterm Essay RubricCriteriaLevels of AchievementContent .docx
Midterm Essay RubricCriteriaLevels of AchievementContent .docxMidterm Essay RubricCriteriaLevels of AchievementContent .docx
Midterm Essay RubricCriteriaLevels of AchievementContent .docxbuffydtesurina
 

More from buffydtesurina (20)

Create a Problem Statement for a study that explore Compensation I.docx
Create a Problem Statement for a study that explore Compensation I.docxCreate a Problem Statement for a study that explore Compensation I.docx
Create a Problem Statement for a study that explore Compensation I.docx
 
Create a scenario that demonstrates a poor exchange of informa.docx
Create a scenario that demonstrates a poor exchange of informa.docxCreate a scenario that demonstrates a poor exchange of informa.docx
Create a scenario that demonstrates a poor exchange of informa.docx
 
Create a mobile application using Android™ Studio that saves d.docx
Create a mobile application using Android™ Studio that saves d.docxCreate a mobile application using Android™ Studio that saves d.docx
Create a mobile application using Android™ Studio that saves d.docx
 
Create a power point presentation on the subject of Banruptcy. Descr.docx
Create a power point presentation on the subject of Banruptcy. Descr.docxCreate a power point presentation on the subject of Banruptcy. Descr.docx
Create a power point presentation on the subject of Banruptcy. Descr.docx
 
Create a Microsoft PowerPoint presentation explaining the various ty.docx
Create a Microsoft PowerPoint presentation explaining the various ty.docxCreate a Microsoft PowerPoint presentation explaining the various ty.docx
Create a Microsoft PowerPoint presentation explaining the various ty.docx
 
Create a PowerPoint® presentation of 9 to 12 slides that you w.docx
Create a PowerPoint® presentation of 9 to 12 slides that you w.docxCreate a PowerPoint® presentation of 9 to 12 slides that you w.docx
Create a PowerPoint® presentation of 9 to 12 slides that you w.docx
 
Create a PowerPoint presentation to analyzes the objectives of perso.docx
Create a PowerPoint presentation to analyzes the objectives of perso.docxCreate a PowerPoint presentation to analyzes the objectives of perso.docx
Create a PowerPoint presentation to analyzes the objectives of perso.docx
 
Create a PowerPoint presentation with 12 to 15 slides that addresses.docx
Create a PowerPoint presentation with 12 to 15 slides that addresses.docxCreate a PowerPoint presentation with 12 to 15 slides that addresses.docx
Create a PowerPoint presentation with 12 to 15 slides that addresses.docx
 
Create a PowerPoint presentation that is seven slides in length, inc.docx
Create a PowerPoint presentation that is seven slides in length, inc.docxCreate a PowerPoint presentation that is seven slides in length, inc.docx
Create a PowerPoint presentation that is seven slides in length, inc.docx
 
Create a power point presentationAttached is the assignment fo.docx
Create a power point presentationAttached is the assignment fo.docxCreate a power point presentationAttached is the assignment fo.docx
Create a power point presentationAttached is the assignment fo.docx
 
Create a Policy Memo that explain and assess the advantages and chal.docx
Create a Policy Memo that explain and assess the advantages and chal.docxCreate a Policy Memo that explain and assess the advantages and chal.docx
Create a Policy Memo that explain and assess the advantages and chal.docx
 
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docx
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docxCreate a 6-slide Microsoft® PowerPoint® presentation on Aw.docx
Create a 6-slide Microsoft® PowerPoint® presentation on Aw.docx
 
Create a 12-slide Microsoft® PowerPoint® presentation, i.docx
Create a 12-slide Microsoft® PowerPoint® presentation, i.docxCreate a 12-slide Microsoft® PowerPoint® presentation, i.docx
Create a 12-slide Microsoft® PowerPoint® presentation, i.docx
 
Create a 1- to 2-page table using Microsoft® Word that address.docx
Create a 1- to 2-page table using Microsoft® Word that address.docxCreate a 1- to 2-page table using Microsoft® Word that address.docx
Create a 1- to 2-page table using Microsoft® Word that address.docx
 
Create a 10- to 15-slide presentation with detailed speaker notes. T.docx
Create a 10- to 15-slide presentation with detailed speaker notes. T.docxCreate a 10- to 15-slide presentation with detailed speaker notes. T.docx
Create a 10- to 15-slide presentation with detailed speaker notes. T.docx
 
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docx
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docxCreate 2 slides with with 150 - 200 Word Speaker Notes with corr.docx
Create 2 slides with with 150 - 200 Word Speaker Notes with corr.docx
 
Creat a Project Charter for the following attachment. I will add gro.docx
Creat a Project Charter for the following attachment. I will add gro.docxCreat a Project Charter for the following attachment. I will add gro.docx
Creat a Project Charter for the following attachment. I will add gro.docx
 
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docx
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docxCrafting Meaningful and Measurable Learning ObjectivesLearning o.docx
Crafting Meaningful and Measurable Learning ObjectivesLearning o.docx
 
Craft an analytical paper based on the reading. Focus on what .docx
Craft an analytical paper based on the reading. Focus on what .docxCraft an analytical paper based on the reading. Focus on what .docx
Craft an analytical paper based on the reading. Focus on what .docx
 
Midterm Essay RubricCriteriaLevels of AchievementContent .docx
Midterm Essay RubricCriteriaLevels of AchievementContent .docxMidterm Essay RubricCriteriaLevels of AchievementContent .docx
Midterm Essay RubricCriteriaLevels of AchievementContent .docx
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

Create Word and List Classes with GUI Menus for Nouns and Verbs

  • 1. 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) .