SlideShare a Scribd company logo
1 of 1
Download to read offline
THIS IS A JAVA PROGRAMMING:
1. Create a class called Gizmo to keep track of the following information 1. Product Name 2.
Product Number 3. Year 4. Quantity 5. Price 2. Create a list of Gizmo objects with the following
values: 3. Prompt the user with the following actions: A. Add a new entry B. Remove an entry
specified by the user C. Sort the list by year A. Use the "natural" ordering - i.e. Have the Gizmo
class implement Comparable<Gizmos D. Sort the list by price E. Sort the list by quantity F.
Calculate and print the total value of the inventory A. Use streaming operations and lambda
expressions G. Print inventory A. Print the inventory in a table format 4. Other requirements 1.
Only print the list when requested (not after add/remove/sort operations) 2. Gracefully handle
errors in user input (e.g. prompt them to retry) 5. Be sure to review and follow the Submission
Guidelines

More Related Content

More from adinathfashion1

Title Media culture Objectives 1 To apply aseptic techniq.pdf
Title Media culture Objectives 1 To apply aseptic techniq.pdfTitle Media culture Objectives 1 To apply aseptic techniq.pdf
Title Media culture Objectives 1 To apply aseptic techniq.pdf
adinathfashion1
 
TitleInvestigating the effect of counterfeit permits on the.pdf
TitleInvestigating the effect of counterfeit permits on the.pdfTitleInvestigating the effect of counterfeit permits on the.pdf
TitleInvestigating the effect of counterfeit permits on the.pdf
adinathfashion1
 
Tirar dinero bueno despus de malo la iniciativa de medios.pdf
Tirar dinero bueno despus de malo la iniciativa de medios.pdfTirar dinero bueno despus de malo la iniciativa de medios.pdf
Tirar dinero bueno despus de malo la iniciativa de medios.pdf
adinathfashion1
 
tion Techs current network consists of 1 web server access.pdf
tion Techs current network consists of 1 web server access.pdftion Techs current network consists of 1 web server access.pdf
tion Techs current network consists of 1 web server access.pdf
adinathfashion1
 

More from adinathfashion1 (20)

This is NOT TRUE concerning courtship sounds Question 2 opt.pdf
This is NOT TRUE concerning courtship sounds Question 2 opt.pdfThis is NOT TRUE concerning courtship sounds Question 2 opt.pdf
This is NOT TRUE concerning courtship sounds Question 2 opt.pdf
 
This is what I got for 54 but Im unsure if its right Prepa.pdf
This is what I got for 54 but Im unsure if its right Prepa.pdfThis is what I got for 54 but Im unsure if its right Prepa.pdf
This is what I got for 54 but Im unsure if its right Prepa.pdf
 
This PNF technique starts with the same process as the the h.pdf
This PNF technique starts with the same process as the the h.pdfThis PNF technique starts with the same process as the the h.pdf
This PNF technique starts with the same process as the the h.pdf
 
This is where you set up the project infrastructure to help .pdf
This is where you set up the project infrastructure to help .pdfThis is where you set up the project infrastructure to help .pdf
This is where you set up the project infrastructure to help .pdf
 
This is a true case study A woman kept coming to the doctor.pdf
This is a true case study A woman kept coming to the doctor.pdfThis is a true case study A woman kept coming to the doctor.pdf
This is a true case study A woman kept coming to the doctor.pdf
 
To answer Questions 14 and 15 read the article Britain.pdf
To answer Questions 14 and 15 read the article Britain.pdfTo answer Questions 14 and 15 read the article Britain.pdf
To answer Questions 14 and 15 read the article Britain.pdf
 
To adhere to Endangered Species Act ESA guidelines the Fi.pdf
To adhere to Endangered Species Act ESA guidelines the Fi.pdfTo adhere to Endangered Species Act ESA guidelines the Fi.pdf
To adhere to Endangered Species Act ESA guidelines the Fi.pdf
 
Title Media culture Objectives 1 To apply aseptic techniq.pdf
Title Media culture Objectives 1 To apply aseptic techniq.pdfTitle Media culture Objectives 1 To apply aseptic techniq.pdf
Title Media culture Objectives 1 To apply aseptic techniq.pdf
 
TitleInvestigating the effect of counterfeit permits on the.pdf
TitleInvestigating the effect of counterfeit permits on the.pdfTitleInvestigating the effect of counterfeit permits on the.pdf
TitleInvestigating the effect of counterfeit permits on the.pdf
 
Tketici talebindeki kk deiiklikler aadaki nedenlerle ve.pdf
Tketici talebindeki kk deiiklikler aadaki nedenlerle ve.pdfTketici talebindeki kk deiiklikler aadaki nedenlerle ve.pdf
Tketici talebindeki kk deiiklikler aadaki nedenlerle ve.pdf
 
Titanic Project Management Blunders Links to an external s.pdf
Titanic  Project Management Blunders Links to an external s.pdfTitanic  Project Management Blunders Links to an external s.pdf
Titanic Project Management Blunders Links to an external s.pdf
 
This is my table met Mry anlea Nole isch studein las diru ev.pdf
This is my table met Mry anlea Nole isch studein las diru ev.pdfThis is my table met Mry anlea Nole isch studein las diru ev.pdf
This is my table met Mry anlea Nole isch studein las diru ev.pdf
 
TITLE MAKE A PROJECT ON THE WORKING OF PARLIAMENTARY FORM O.pdf
TITLE MAKE A PROJECT ON THE WORKING OF PARLIAMENTARY FORM O.pdfTITLE MAKE A PROJECT ON THE WORKING OF PARLIAMENTARY FORM O.pdf
TITLE MAKE A PROJECT ON THE WORKING OF PARLIAMENTARY FORM O.pdf
 
Tipik bir yklenim dzenlemesinde yatrm bankacl firmas I H.pdf
Tipik bir yklenim dzenlemesinde yatrm bankacl firmas I H.pdfTipik bir yklenim dzenlemesinde yatrm bankacl firmas I H.pdf
Tipik bir yklenim dzenlemesinde yatrm bankacl firmas I H.pdf
 
Tiyatro iin Orta ada din tiyatroyu nasl etkiledi .pdf
Tiyatro iin    Orta ada din tiyatroyu nasl etkiledi    .pdfTiyatro iin    Orta ada din tiyatroyu nasl etkiledi    .pdf
Tiyatro iin Orta ada din tiyatroyu nasl etkiledi .pdf
 
tissues were taken from two populations to investigate.pdf
tissues were taken from two populations to investigate.pdftissues were taken from two populations to investigate.pdf
tissues were taken from two populations to investigate.pdf
 
Tirar dinero bueno despus de malo la iniciativa de medios.pdf
Tirar dinero bueno despus de malo la iniciativa de medios.pdfTirar dinero bueno despus de malo la iniciativa de medios.pdf
Tirar dinero bueno despus de malo la iniciativa de medios.pdf
 
Tisdale Incorporated reports the following amounts in its De.pdf
Tisdale Incorporated reports the following amounts in its De.pdfTisdale Incorporated reports the following amounts in its De.pdf
Tisdale Incorporated reports the following amounts in its De.pdf
 
Time left 04519 Question 3 Not yet answered Marked out of .pdf
Time left 04519 Question 3 Not yet answered Marked out of .pdfTime left 04519 Question 3 Not yet answered Marked out of .pdf
Time left 04519 Question 3 Not yet answered Marked out of .pdf
 
tion Techs current network consists of 1 web server access.pdf
tion Techs current network consists of 1 web server access.pdftion Techs current network consists of 1 web server access.pdf
tion Techs current network consists of 1 web server access.pdf
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
The Ultimate Guide to Social Media Marketing in 2024.pdf
The Ultimate Guide to Social Media Marketing in 2024.pdfThe Ultimate Guide to Social Media Marketing in 2024.pdf
The Ultimate Guide to Social Media Marketing in 2024.pdf
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdf
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 

THIS IS A JAVA PROGRAMMING 1 Create a class called Gizmo t.pdf

  • 1. THIS IS A JAVA PROGRAMMING: 1. Create a class called Gizmo to keep track of the following information 1. Product Name 2. Product Number 3. Year 4. Quantity 5. Price 2. Create a list of Gizmo objects with the following values: 3. Prompt the user with the following actions: A. Add a new entry B. Remove an entry specified by the user C. Sort the list by year A. Use the "natural" ordering - i.e. Have the Gizmo class implement Comparable<Gizmos D. Sort the list by price E. Sort the list by quantity F. Calculate and print the total value of the inventory A. Use streaming operations and lambda expressions G. Print inventory A. Print the inventory in a table format 4. Other requirements 1. Only print the list when requested (not after add/remove/sort operations) 2. Gracefully handle errors in user input (e.g. prompt them to retry) 5. Be sure to review and follow the Submission Guidelines