Importing class - override?


#1

Hey everyone,

So when importing the Employee class (pg. 111), the book states to change main.m to #import “Employee.h” and remove the importation of “Person.h”.

Just for verification, this is because “Person.h” was already just imported into “Employee.h”?

If so, that means that the only classes necessary to import to main.m are the bottom classes of the “hierarchies”, as the upper superclasses have already been imported when the lower classes inherited them?

Thanks in advance!

SCK