Make computeVolume() method virtual so that its implementation can be platform specific.
Attach a file by drag & drop or click to upload