@@ -0,0 +1,527 @@
+package Hardware;%0A%0Apublic class CPU %7B%0A%09%0A%09public String name;%0A%09public String companyName;%0A%09%0A%09public int price = 0;%0A%09public int speed;%0A%09%0A%09public CPU(int MHz, String name, String companyName) %7B%0A%09%09this.speed = MHz;%0A%09%09this.name = name;%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 getSpeed() %7B%0A%09%09return speed;%0A%09%7D%0A%09%0A%09/** Setters **/%0A%09%0A%09public static void takeSpeed(int speed) %7B%0A%09%09speed -= speed;%0A%09%7D%0A%09%0A%09public void addPrice(int value) %7B%0A%09%09price += value;%0A%09%7D%0A%09%0A%7D%0A

Create CPU.java