It 'a logic problem, rather than of code... Explain better.
In a class A are brought to an array object that is a subclass of A.
In the graphic design of Sotware I see this method listEmployees that should print the information contained in the array.
How can I print this info if I can not access the information of the subclass as name, employee salary?
I assume then that I have to take this information only from the array, but how?
I appreciate your help