I\'m making a program where I need to calculate the volume of a certain object (unimportant) but when I trade variables in between classes using a constructor, the compiler