void SetStation(int Station);
int GetStation() const;
myTV.itsStation = 9;
2) Why isn’t the following class declaration very useful?
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.1)
1. “TV myOther(2);” asks for a constructor with argument but it hasn’t been declared and defined
2. itsStation is private attribute, we cannot set it value directly. It needs a mutator function...