public Computer(String name, CPU cpu, RAM ram, HardDrive hd, GraphicCard graphicCard) { this.name = name; this.cpu = cpu; this.ram = ram; this.hd = hd; this.graphicCard = graphicCard; }
public Computer(String name, CPU cpu, RAM ram, HardDrive hd, GraphicCard graphicCard, Display display, Keyboard keyboard) { this.name = name; this.cpu = cpu; this.ram = ram; this.hd = hd; this.graphicCard = graphicCard; this.display = display; this.keyboard = keyboard; }