首頁 > Object–Oriented Programming with Swift 2
Test your knowledge
- Objects are also known as:
- Classes.
- Subclasses.
- Instances.
- The code specified in a method within a class:
- Cannot access the properties specified in the class.
- Can access the properties specified in the class.
- Cannot interact with other members of the class.
- A subclass:
- Inherits all members from its superclass.
- Inherits only methods from its superclass.
- Inherits only properties from its superclass.
- The variables defined in a class to encapsulate data for each instance of the class in Swift are known as:
- Subclasses.
- Properties.
- Methods.
- The functions defined in a class to encapsulate behavior for each instance of the class are known as:
- Subclasses.
- Properties.
- Methods.
主站蜘蛛池模板:
中江县|
汤阴县|
莎车县|
巴楚县|
阿勒泰市|
青神县|
茶陵县|
峡江县|
新田县|
德庆县|
台北市|
安庆市|
乳源|
厦门市|
临汾市|
班戈县|
崇文区|
财经|
逊克县|
柯坪县|
梨树县|
马边|
茂名市|
鸡西市|
托里县|
钟祥市|
虹口区|
全椒县|
清新县|
六枝特区|
临泽县|
海伦市|
黄龙县|
年辖:市辖区|
克山县|
施甸县|
金山区|
昭觉县|
桦川县|
金沙县|
缙云县|