Hello All! I am a bit confused on where to check for conditions. This is a separate class that is combined with a base class "Package" and it other sub classes.
This is what I have so far and it compiles and runs and everything, but is this correct?
Do I have to go through a for loop to get every single one? but I feel like this is correct? Idk please give some feedback
it's better to check these conditions through the Package ctor and ensure that only Package objects with valid weight, insuranceFee and costs are instantiated