SlideShare uma empresa Scribd logo
1 de 2
Baixar para ler offline
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

Mais conteúdo relacionado

Mais de 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
 

Mais de 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
 

Último

Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxAvaniJani1
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxMadhavi Dharankar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 
An Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPAn Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPCeline George
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 

Último (20)

Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 
An Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERPAn Overview of the Calendar App in Odoo 17 ERP
An Overview of the Calendar App in Odoo 17 ERP
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 

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