I have a project where pretty much all of the variables that I will be working with in spread though my base class and two inherited classes will be prompted for. Up until now, I just passed in the information through parameter constructors in the classes themselves from my application file like:
cargoShip myCargoShip1 ("USS Enterprise", "1985", 230456);
So my question is what is the best way to write this? Would I include all of the prompts and input validation in the implementation file & classes themselves or is it better to put the prompts in my application file? If so, is there a particular way I would pass the local variable in my application file back to my class implementation file?
Thanks.