Im trying to understand this:
// Create an instance of BNREmployee
BNREmployee *mikey = [[BNREmployee alloc]init];
// Give the instance variable interesting values using setters // [mikey setWeightInKilos:80]; // [mikey setHeightInMeters:1.85]; mikey.weightInKilos=80; mikey.heightInMeters=1.85; mikey.employeeID = 12; mikey.hireDate = [NSDate dateWithNaturalLanguageString:@"Aug 2nd, 2010"];[/code]
Does this mean you implicitly create a BNRPerson instance by setting the BNRPerson variables weight and height via the created instance of BNREmployee or do you simply extend the created instance of BNREmployee with these two extra variables ?