class Dimension3D{ float w, h, d; Dimension3D(float w, float h, float d){ this.w=w; this.h=h; this.d=d; } }