In my case I needed to use attributes of the parent class in the toString of the daughter class, being these private, it was not possible for me to do so. Is there a solution for this?
In my case I needed to use attributes of the parent class in the toString of the daughter class, being these private, it was not possible for me to do so. Is there a solution for this?