官术网_书友最值得收藏!

Test your knowledge

  1. Objects are also known as:
    1. Classes.
    2. Subclasses.
    3. Instances.
  2. The code specified in a method within a class:
    1. Cannot access the properties specified in the class.
    2. Can access the properties specified in the class.
    3. Cannot interact with other members of the class.
  3. A subclass:
    1. Inherits all members from its superclass.
    2. Inherits only methods from its superclass.
    3. Inherits only properties from its superclass.
  4. The variables defined in a class to encapsulate data for each instance of the class in Swift are known as:
    1. Subclasses.
    2. Properties.
    3. Methods.
  5. The functions defined in a class to encapsulate behavior for each instance of the class are known as:
    1. Subclasses.
    2. Properties.
    3. Methods.
主站蜘蛛池模板: 堆龙德庆县| 江门市| 广水市| 临江市| 杭州市| 哈尔滨市| 芜湖市| 宣武区| 奇台县| 增城市| 灌南县| 洛南县| 阿坝县| 辉南县| 修武县| 台前县| 石渠县| 沽源县| 洛扎县| 宝山区| 广元市| 永济市| 衡山县| 佛教| 周宁县| 丘北县| 罗田县| 西林县| 称多县| 玉田县| 宁蒗| 齐河县| 北流市| 远安县| 广德县| 嘉祥县| 高青县| 南漳县| 浙江省| 镇巴县| 龙川县|