package factoryMethod.pentium; import factoryMethod.Processor; public class Processor64 extends Processor { int coreNum; public Processor64(int freq, int bus, int num) { super(freq, bus); coreNum = num; } public int getCoreNum() { return coreNum; } }