@@ -0,0 +1,711 @@
+package Hardware;%0A%0Apublic class HD %7B%0A%09%0A%09public String name;%0A%09public String companyName;%0A%09%0A%09public int price = 0;%0A%09public int totalSpace;%0A%09public int usedSpace = 0;%0A%09%0A%09public HD(int totalSpace, String name, String companyName) %7B%0A%09%09this.name = name;%0A%09%09this.totalSpace = totalSpace;%0A%09%09this.companyName = companyName;%0A%09%7D%0A%09%0A%09/** Getters **/%0A%09%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%09%0A%09public int getTotalSpace() %7B%0A%09%09return totalSpace;%0A%09%7D%0A%09%0A%09public int getUsedSpase() %7B%0A%09%09return usedSpace;%0A%09%7D%0A%09%0A%09/** Setters **/%0A%09%0A%09public void takeTotalSpace(int space) %7B%0A%09%09totalSpace -= space;%0A%09%7D%0A%09%0A%09public void addUsedSpace(int space) %7B%0A%09%09usedSpace += space;%0A%09%7D%0A%09%0A%09public void addPrice(int value) %7B%0A%09%09price += value;%0A%09%7D%0A%09%0A%09%0A%7D%0A

Create HD.java