here Problem 1 (Electronics Store - Version 1) Your goal for this problem is to calea spleplementation of an electronics Store implement the following five case with the defined functionality Desktop Class ut for the CPUs in Ghembull mount of RA Integer amount of storage in GB as an integer and whether or not the sasa HOD Boolean with mening SSD and mesing HDO) The must be rement contractor that accept input parameter for achete order they are toledo (CPU, RAM, wrage 580). The case must have studente Desktop PC with Sight CPUBO RAM 500.00 HOD Desktop PC with 3 ore CPU 16GB RAM, 2008 550 ale Laptop Class Must store the CPU speed in Greason of RAM (GB internoon of storage in 8 mannlege whether or not the Blean with a 50 and meas HDL sinds as integer). The class must have a feargument couchat accepts an input par for each of these in the camere they wisted on CPU RAM 350 screens. The class must have a toring method that tumsasting indicating the state top PC dong with the propertiere Tweerge of what the ring med waar de bew 15'LON PC with 3200 RAMSGB SSD 13Lpp PC 25ghz CPU, GB RAM 250GB HOD. Fridge Class Mussores the rigenetic as a double where Trezort Bont Breithas the car ang. The must have a terming the ring indicating the castige wong object properties. The campies of what the torgettad could returned to 15. ubi foot Fridge with Free Gray 10.5 cubic Foot Fridge Whiw COMP 1000/14060-W21-A1 Due Sunday, January 3119 Electronic Store Class Must have an instance became theme store. Must have a one-argument constructor that accepts as to the store The store must also contacterenie bang inte Laptops, decomThe constructeur des must tehetnes of olette. For storage purpose in the Electronics one or more to..or has mapestore the various product your des choice for RAM colorete). This class should also have a void method ad primum over there's and print them to the commal. Addiy dass should have a search StockString method The Stockhod should wiring punient and returneringen productes contain vening with the modrould the dock would become. That is the worst sore con Des PC with 3CPU, GB RAM 500GBROD Electronic Storefester Close This chans should have gathed which wir Intering Beton Store and collected. The show repeatedly prompt the user to enter an em to search for the user enter the words the process should stop and the programuldender the Socket Dlectrodomestante shule te used to search for the research and the whild be printed out. You would use the search Stockholm value see oud benslayed. The front where Input Sexiga The stock inte De PC with CPU RAMSOGONDO Desktop PC with CPU. 16GB RAM 256GB SSD Desktop PCS CPUBGB RAM 5000 SSD 15L with the CPU. SIGRAM SOC SSD 13La PC 2.5 CPU. OB RAM 2 HO 15 Laptop PC 3.0ch CPU, 16GB RAM 2GB SSD 1650. Fridge with Free (Black 120. Fridge (Whe 23. Fridge with Free (nett Enteramentor A matching miscared in the work Enterturm to search for LOP Am Emrah COMP 1006B/14068-W21 - A1 Due Sunday, January 31 at 11:59 PM Electronic Store Class: Must have an instance variable calied name to store the name of the store Must have a one-argument constructor that accepts a string to specify the store name The store must also contain instance variables to store nine items in total (3 Desktops, 3 Laptops, and 3 Fridges). The constructor for this class must create three instances of each class to initialize the attributes. For storage purposes in the Electronic Store class, you can use one or more arrays, lists, or hash maps to store the various products (you design choice). For now, you should hard-code the argument values for the product constructors e CPU speed RAM, color, etc.). This class should also have a void method called printStock that will rate over all of the store's stock and print them to the console in a readable format Additionally, this class should have a search Stock/String) method. The search Stock method should accepta string argument and return true if the toString) of any product in the store's stock contains the given string argument (otherwise, the method should return false) The search Stock method should also be case insensitive. That is, searches for desk and had should both return truet the store contains a "Desktop PC with 3.5ghz CPU, 8GB RAM, 500GB HDD drive Electronic Store Tester Class: This class should have a single main method, which will first instantiate a single Electronic Store and call the printStock() method. The test class should then repeatedly prompt the user to enter an item to search for. If the user enters the word our this process should stop, and the program should end. Otherwise, the search Stock method of the Electronic Store instance should be used to search for the given search term and the result should be printed out. You should use the search Stock methods return value to determine what message should be displayed. The output from this tester class should be similar to below user input text is highlighted) The store stock includes: Desktop PC with 3.5ghz CPU, BGB RAM500GB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive Desktop PC with 4.3ghz CPU, 32GB RAM, SOOGB SSD drive 15 Laptop PC with 3.1ghz CPU, 32GB RAM, 500GB SSD drive 13 Laptop PC with 2 ghz CPU, 8GB RAM, 250GB HDD drive 15 Laptop PC with 3. Oghz CPU, 16GB RAM, 250GB SSD drive 16.5 cu.ft. Fridge with Freezer (Black) 120 cu.ft. Fridge (White) 23.0 cu.. Fridge with Freezer (Stainless Steel) Enter a term to search for desk A matching item is contained in the store's stock Enter a term to search for: LaPIOP A matching item is contained in the store's stock Enter a term to search for: Toast No items in the store's stock match that form Enter a term to search for television No items in the store's stock match that form COMP 1006B/14068-W21-A1 Due Sunday, January 31 at 11:59 PM Enter a form to search for GB A matching item is contained in the store's stock Enter a term to search for quit COMP 1006B/14068-W21-A1 Due Sunday, January 31 at 11:59 PM Electronic Store Class: Must have an instance variable called name to store the name of the store. Must have a one-argument constructor that accepts a string to specify the store name. The store must also contain instance variables to store nine items in total (3 Desktops, 3 Laptops, and 3 Fridges). The constructor for this class must create three instances of each class to initialize the attributes. For storage purposes in the Electronic Store class, you can use one or more arrays, lists, or hash maps to store the various products (your design choice). For now, you should hard-code the argument values for the product constructors .. CPU speed, RAM, color, etc.). This class should also have a void method called printStock() that will terate over all of the store's stock and print them to the console in a readable format. Additionally, this dass should have a search Stock(String) method. The search Stock method should accept a string argument and return true if the toString() of any product in the store's stock contains the given string argument (otherwise, the method should return false). The search Stock method should also be case insensitive. That is, searches for desk" and "had should both return truet the store contains a "Desktop PC with 3.5ghz CPU, 8GB RAM, SOOGB HDD drive Electronic Store Tester Class: This class should have a single main method, which will first instantiate a single Electronic Store and call the printStock() method. The test class should then repeatedy prompt the user to enter an item to search for. If the user enters the word "uit this process should stop, and the program should end. Otherwise, the search Stock method of the Electronic Store Instance should be used to search for the given search term and the result should be printed out. You should use the searchStock method's return value to determine what message should be displayed. The output from this tester class should be similar to below (user Input text is highlighted): The store stock includes: Desktop PC with 3.5ghz CPU, 8GB RAM, SOOGB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive Desktop PC with 4.3ghz CPU, 32GB RAM, 500GB SSD drive 15 Laptop PC with 3.1ghz CPU. 32GB RAM, 500GB SSD drive, 13 Laptop PC with 2.5ghz CPU, 8GB RAM, 250GB HDD drive 15 Laptop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive 165 cu. ft. Fridge with Freezer (Black) 120 cu.ft. Fridge (White) 23.0 cu. ft. Fridge with Freezer (Stainless Steel Enter a term to search for: desk A matching item is contained in the store's stock Enter a term to search for: LaPIOP A matching item is contained in the store's stock. Enter a term to search for: Toast No items in the store's stock match that term. Enter a term to search for: television No items in the store's stock match that term. COMP 10060/14068 - W21-A1 Due Sunday, January 31 at 11:59 PM Enter a term to search for: GB A matching item is contained in the store's stock Enter a term to search for: quit Problem 1 (Electronics Store Version 1) Your goal for this problem is to create a simple implementation of an electronics store. You must implement the following five classes with the defined functionality: Desktop Class: Must store the CPU speed (in Ghz as a double), amount of RAM (in GB as an integer), amount of storage (in GB as an integer), and whether or not the storage is an SSD or HDD (a Boolean, with true meaning SSD and false meaning HDD). The class must have a four- argument constructor that accepts an input parameter for each of these values in the same order they are listed above (CPU, RAM, storage, SSD). The class must have a toString method that returns a string indicating the object is a desktop PC along with the object's properties. Two examples of what the toString method could return are included below: Desktop PC with 3.5ghz CPU, 8GB RAM, 500GB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive. Laptop Class: Must store the CPU speed (in Ghz as a double), amount of RAM (in GB as an integer), amount of storage (in GB as an integer), whether or not the storage is an SSD or HDD (a Boolean, with true meaning SSD and false meaning HDD), and the screen size (in inches as an integer). The class must have a five-argument constructor that accepts an input parameter for each of these values in the same order they are listed above (CPU, RAM, storage, SSD, screen size). The class must have a toString method that returns a string indicating the object is a laptop PC along with the object's properties. Two examples of what the toString method could return are included below: 15" Laptop PC with 3.1ghz CPU, 32GB RAM, 500GB SSD drive. 13" Laptop PC with 2.5ghz CPU, 8GB RAM, 250GB HDD drive. Fridge Class: Must store the size of the fridge (in cubic feet, as a double), whether it includes a freezer or not (a Boolean that is true if it has a freezer), and the color (as a String). The class must have a toString method that returns a string indicating the object is a fridge along with the object's properties. Two examples of what the toString method could return are included below: 15.6 cubic foot Fridge with Freezer (Gray) 10.5 cubic foot Fridge (White) 1 here Problem 1 (Electronics Store - Version 1) Your goal for this problem is to calea spleplementation of an electronics Store implement the following five case with the defined functionality Desktop Class ut for the CPUs in Ghembull mount of RA Integer amount of storage in GB as an integer and whether or not the sasa HOD Boolean with mening SSD and mesing HDO) The must be rement contractor that accept input parameter for achete order they are toledo (CPU, RAM, wrage 580). The case must have studente Desktop PC with Sight CPUBO RAM 500.00 HOD Desktop PC with 3 ore CPU 16GB RAM, 2008 550 ale Laptop Class Must store the CPU speed in Greason of RAM (GB internoon of storage in 8 mannlege whether or not the Blean with a 50 and meas HDL sinds as integer). The class must have a feargument couchat accepts an input par for each of these in the camere they wisted on CPU RAM 350 screens. The class must have a toring method that tumsasting indicating the state top PC dong with the propertiere Tweerge of what the ring med waar de bew 15'LON PC with 3200 RAMSGB SSD 13Lpp PC 25ghz CPU, GB RAM 250GB HOD. Fridge Class Mussores the rigenetic as a double where Trezort Bont Breithas the car ang. The must have a terming the ring indicating the castige wong object properties. The campies of what the torgettad could returned to 15. ubi foot Fridge with Free Gray 10.5 cubic Foot Fridge Whiw COMP 1000/14060-W21-A1 Due Sunday, January 3119 Electronic Store Class Must have an instance became theme store. Must have a one-argument constructor that accepts as to the store The store must also contacterenie bang inte Laptops, decomThe constructeur des must tehetnes of olette. For storage purpose in the Electronics one or more to..or has mapestore the various product your des choice for RAM colorete). This class should also have a void method ad primum over there's and print them to the commal. Addiy dass should have a search StockString method The Stockhod should wiring punient and returneringen productes contain vening with the modrould the dock would become. That is the worst sore con Des PC with 3CPU, GB RAM 500GBROD Electronic Storefester Close This chans should have gathed which wir Intering Beton Store and collected. The show repeatedly prompt the user to enter an em to search for the user enter the words the process should stop and the programuldender the Socket Dlectrodomestante shule te used to search for the research and the whild be printed out. You would use the search Stockholm value see oud benslayed. The front where Input Sexiga The stock inte De PC with CPU RAMSOGONDO Desktop PC with CPU. 16GB RAM 256GB SSD Desktop PCS CPUBGB RAM 5000 SSD 15L with the CPU. SIGRAM SOC SSD 13La PC 2.5 CPU. OB RAM 2 HO 15 Laptop PC 3.0ch CPU, 16GB RAM 2GB SSD 1650. Fridge with Free (Black 120. Fridge (Whe 23. Fridge with Free (nett Enteramentor A matching miscared in the work Enterturm to search for LOP Am Emrah COMP 1006B/14068-W21 - A1 Due Sunday, January 31 at 11:59 PM Electronic Store Class: Must have an instance variable calied name to store the name of the store Must have a one-argument constructor that accepts a string to specify the store name The store must also contain instance variables to store nine items in total (3 Desktops, 3 Laptops, and 3 Fridges). The constructor for this class must create three instances of each class to initialize the attributes. For storage purposes in the Electronic Store class, you can use one or more arrays, lists, or hash maps to store the various products (you design choice). For now, you should hard-code the argument values for the product constructors e CPU speed RAM, color, etc.). This class should also have a void method called printStock that will rate over all of the store's stock and print them to the console in a readable format Additionally, this class should have a search Stock/String) method. The search Stock method should accepta string argument and return true if the toString) of any product in the store's stock contains the given string argument (otherwise, the method should return false) The search Stock method should also be case insensitive. That is, searches for desk and had should both return truet the store contains a "Desktop PC with 3.5ghz CPU, 8GB RAM, 500GB HDD drive Electronic Store Tester Class: This class should have a single main method, which will first instantiate a single Electronic Store and call the printStock() method. The test class should then repeatedly prompt the user to enter an item to search for. If the user enters the word our this process should stop, and the program should end. Otherwise, the search Stock method of the Electronic Store instance should be used to search for the given search term and the result should be printed out. You should use the search Stock methods return value to determine what message should be displayed. The output from this tester class should be similar to below user input text is highlighted) The store stock includes: Desktop PC with 3.5ghz CPU, BGB RAM500GB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive Desktop PC with 4.3ghz CPU, 32GB RAM, SOOGB SSD drive 15 Laptop PC with 3.1ghz CPU, 32GB RAM, 500GB SSD drive 13 Laptop PC with 2 ghz CPU, 8GB RAM, 250GB HDD drive 15 Laptop PC with 3. Oghz CPU, 16GB RAM, 250GB SSD drive 16.5 cu.ft. Fridge with Freezer (Black) 120 cu.ft. Fridge (White) 23.0 cu.. Fridge with Freezer (Stainless Steel) Enter a term to search for desk A matching item is contained in the store's stock Enter a term to search for: LaPIOP A matching item is contained in the store's stock Enter a term to search for: Toast No items in the store's stock match that form Enter a term to search for television No items in the store's stock match that form COMP 1006B/14068-W21-A1 Due Sunday, January 31 at 11:59 PM Enter a form to search for GB A matching item is contained in the store's stock Enter a term to search for quit COMP 1006B/14068-W21-A1 Due Sunday, January 31 at 11:59 PM Electronic Store Class: Must have an instance variable called name to store the name of the store. Must have a one-argument constructor that accepts a string to specify the store name. The store must also contain instance variables to store nine items in total (3 Desktops, 3 Laptops, and 3 Fridges). The constructor for this class must create three instances of each class to initialize the attributes. For storage purposes in the Electronic Store class, you can use one or more arrays, lists, or hash maps to store the various products (your design choice). For now, you should hard-code the argument values for the product constructors .. CPU speed, RAM, color, etc.). This class should also have a void method called printStock() that will terate over all of the store's stock and print them to the console in a readable format. Additionally, this dass should have a search Stock(String) method. The search Stock method should accept a string argument and return true if the toString() of any product in the store's stock contains the given string argument (otherwise, the method should return false). The search Stock method should also be case insensitive. That is, searches for desk" and "had should both return truet the store contains a "Desktop PC with 3.5ghz CPU, 8GB RAM, SOOGB HDD drive Electronic Store Tester Class: This class should have a single main method, which will first instantiate a single Electronic Store and call the printStock() method. The test class should then repeatedy prompt the user to enter an item to search for. If the user enters the word "uit this process should stop, and the program should end. Otherwise, the search Stock method of the Electronic Store Instance should be used to search for the given search term and the result should be printed out. You should use the searchStock method's return value to determine what message should be displayed. The output from this tester class should be similar to below (user Input text is highlighted): The store stock includes: Desktop PC with 3.5ghz CPU, 8GB RAM, SOOGB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive Desktop PC with 4.3ghz CPU, 32GB RAM, 500GB SSD drive 15 Laptop PC with 3.1ghz CPU. 32GB RAM, 500GB SSD drive, 13 Laptop PC with 2.5ghz CPU, 8GB RAM, 250GB HDD drive 15 Laptop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive 165 cu. ft. Fridge with Freezer (Black) 120 cu.ft. Fridge (White) 23.0 cu. ft. Fridge with Freezer (Stainless Steel Enter a term to search for: desk A matching item is contained in the store's stock Enter a term to search for: LaPIOP A matching item is contained in the store's stock. Enter a term to search for: Toast No items in the store's stock match that term. Enter a term to search for: television No items in the store's stock match that term. COMP 10060/14068 - W21-A1 Due Sunday, January 31 at 11:59 PM Enter a term to search for: GB A matching item is contained in the store's stock Enter a term to search for: quit Problem 1 (Electronics Store Version 1) Your goal for this problem is to create a simple implementation of an electronics store. You must implement the following five classes with the defined functionality: Desktop Class: Must store the CPU speed (in Ghz as a double), amount of RAM (in GB as an integer), amount of storage (in GB as an integer), and whether or not the storage is an SSD or HDD (a Boolean, with true meaning SSD and false meaning HDD). The class must have a four- argument constructor that accepts an input parameter for each of these values in the same order they are listed above (CPU, RAM, storage, SSD). The class must have a toString method that returns a string indicating the object is a desktop PC along with the object's properties. Two examples of what the toString method could return are included below: Desktop PC with 3.5ghz CPU, 8GB RAM, 500GB HDD drive. Desktop PC with 3.0ghz CPU, 16GB RAM, 250GB SSD drive. Laptop Class: Must store the CPU speed (in Ghz as a double), amount of RAM (in GB as an integer), amount of storage (in GB as an integer), whether or not the storage is an SSD or HDD (a Boolean, with true meaning SSD and false meaning HDD), and the screen size (in inches as an integer). The class must have a five-argument constructor that accepts an input parameter for each of these values in the same order they are listed above (CPU, RAM, storage, SSD, screen size). The class must have a toString method that returns a string indicating the object is a laptop PC along with the object's properties. Two examples of what the toString method could return are included below: 15" Laptop PC with 3.1ghz CPU, 32GB RAM, 500GB SSD drive. 13" Laptop PC with 2.5ghz CPU, 8GB RAM, 250GB HDD drive. Fridge Class: Must store the size of the fridge (in cubic feet, as a double), whether it includes a freezer or not (a Boolean that is true if it has a freezer), and the color (as a String). The class must have a toString method that returns a string indicating the object is a fridge along with the object's properties. Two examples of what the toString method could return are included below: 15.6 cubic foot Fridge with Freezer (Gray) 10.5 cubic foot Fridge (White) 1