Print with toString() method
问题 class Box { // Instance Variables double length ,ipsos ; double width ,mikos ; double height ,platos; // Constructors public Box ( double side ) { width = side ; height = side ; length = side ; } public Box ( double x , double y , double z) { platos = y ; ipsos = z; mikos = x ; } // Methods double calculate(double praksi) { return 2 * ( width * height + width * length + height * length ) ; } double volume(double emvadon) { return platos*ipsos*mikos ; } } In the upper code, how can I make a