Well, note that you don’t have a default constructor for cylinderType, and I also don’t see a setRadius method for it (given that you provided your whole code of course).
2
solved Cylinder1 works fine, but cylinder2 gives error? [closed]
Well, note that you don’t have a default constructor for cylinderType, and I also don’t see a setRadius method for it (given that you provided your whole code of course).
2
solved Cylinder1 works fine, but cylinder2 gives error? [closed]