Hi, this is part of an assignment question and probably something I should know.
I have 2 classes. I have a method in one class that creates an instance of the other class and sets one of its attributes to a certain value. The class that has its attribute set has a getter method for the attribute but no setter method. How can I set the atttribute? Should there be a setter? The question says nothing about writing a setter.