RationalNumber::RationalNumber(const RationalNumber& object) { setAll(object.getNum(), object.getDenom()); //fill num and denom }