public Computer(CRTMonitor monitor, Processor cpu, InputDevice keyboard) { this.monitor = monitor; this.cpu = cpu; this.keyboard = keyboard; }
public Computer() { monitor = new CRTMonitor(); keyboard = new InputDevice(); cpu = new Processor(); }