Given the line below where Square is a subclass of Rectangle:
Rectangle *thisObject = [[Square alloc] init];
thisObject contains: 1. All the instance variables of a Square object. 2. All the instance methods implemented in the Square object. 3. All the instance variables of a Rectangle object. 4. All the instance methods implemented in the Rectangle object.
Given the line below where Square is a subclass of Rectangle:
Square *thisObject = [[Square alloc] init];
thisObject contains: 1. All the instance variables of a Square object. 2. All the instance methods implemented in the Square object. 3. All the instance methods implemented in the Rectangle object.
Any disagreements?