*** I need it in Java ***
Sorting Laundry Objective: Write a program that will sort a basket of clothes into their proper drawers. aware you are sort clothes by their type in this order: If you were not . Top Drawer Undergarments . Next Drawer Socks or Stockings . The Following Drawer Tops The Subsequent Drawer- Bottoms . The Cape Drawer-Capes Write a class called Clothing Instance Variables o Type This can only be Undergarment, Socks, Stockings, Top, Bottom, and Cape Color-This can only be Brown, Red, Pink, Orange, Green, Blue, Purple, and Grey Constructors o Default o Parameterized Accessors and Mutators for the instance variables o Make sure to check for valid values in the mutator Methods o toString: Takes in no parameters and returns a string with the Type and Color of the garment o equals: Takes an instance of Clothing as a parameters and returns true only if the parameters are equal Next write a class called Dresser Instance Variables o Clothes-a 2D array where there are only 5 drawers, and each drawer can hold 10 items of clothing . Constructors o Just default that creates the 2D array No Accessors or Mutators . Methods o add: Takes in an instance of Clothing as a parameter and returns nothing. The parameter is then sorted in their proper drawers by its type as mentioned above. If a drawer is full make sure to tell the user o remove: Takes in an instance of Clothing as a parameter and returns nothing. This method searches for a piece of clothing, and if it exists it is removed (by setting that value to null. o print: This prints out every piece of clothing in the dresser Finally write a class called DresserFrontEnd e Contains the main method Prompts the user to add clothing, remove clothing, check what is in the dresser, or quit Adding an item should prompt the user to enter the type and color Removing should prompt the user to again enter the type and color they wish to remove Printing shows the user what is in the dresser o o o Quit immediately halts the program