I am learning how the classes work, but I have encountered a problem that had appeared to me on other occasions.
The question is that I want to have a class to which