What happens is that we are learning the subject of inheritance and they sent us a simple exercise, which tries to add a person and then list the people added, the part of adding a person is good for me, the problem is to list the people added, then I will show you the code of the class father and the class daughter, and the code to list classes. (I must clarify that the part of the Main is also well done.) Thank you very much to all.