public class Shape { protected String color; protected double surfaceArea; protected double volume; protected double pi = Math.PI; boolean end = false; public Shape(String a) { color = a; } public String color(String color) { this.color = color; return this.color; } public double surfaceArea(double surfaceArea) { this.surfaceArea = surfaceArea; return this.surfaceArea; } public double volume(double volume) { this.volume = volume; return this.volume; } // Get the name of the class public String getThisClass() { String thisClassString = this.getClass().toString(); String newString = ""; char character; boolean start = false; for (int i = 0; i