Answer:
Java.
Explanation:
class PC-game extends Game {
int minRAM;
int minDiskSpace;
float minProcessorSpeed;
//////////////////////////////////////////////////////////////////////////////////////////////////
public PC-game(int minRam, minDiskSpace, minProcessorSpeed) {
this.minRam = minRam;
this.minDiskSpace = minDiskSpace;
this.minProcessorSpeed = minProcessorSpeed;
}
public String toString() {
return "Ram megabytes: " + minRam + ", Disk Space MB: " + minDiskSpace + ", Processor GHz: " + minProcessorSpeed;
}
//////////////////////////////////////////////////////////////////////////////////////////////////
public static void main(String[] args) {
PC-game pcGame1 = new PC-game(512, 2000, 2.3);
System.out.println(pcGame1);
}
}