Question types

Start with

Question limit

of 9 available terms

Print test

7 Matching questions

  1. sub-sub class
  2. superclass
  3. Rules to choose a message (method) to apply to an object
  4. subclass
  5. Inheritance often is used to extend a class
  6. You should take advantage of existing classes to use as your root class. NSObject is a common root class.
  7. Whenever a new class is defined it inherits certain things from the superclass including all non-private methods and instance variables.
  1. a Note
  2. b Instance variables that are accessed directly by a subclass must be declared in the interface section, and not in the implementation section. Instance variables declared or synthesized in the implementation section are PRIVATE instance variables and are not directly accessible by subclasses.
  3. c Fraction: NSObject

    Fraction is the child or subclass.
  4. d child class
  5. e First, the class to which the object belongs is checked. Then the parent class, and then the next parent class, and so on. If you don't find the method a warning message is generated.
  6. f grandchild
  7. g parent class