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
Which of the following conventions is appropriate for enumeration values in Swift 3:
lowerCamelCase
UpperCamelCase
ALL UPPERCASE
Which of the following class names follow the PascalCase convention, also known as the UpperCamelCase convention, and would be an appropriate name for a class in Swift 3:
regularHexagon
RegularHexagon
Regularhexagon
Which of the following method names would be appropriate for a non-mutating method that returns the calculated perimeter for a square in Swift 3, considering the API design guidelines:
calculatedPerimeter
calculatePerimeter
calculateThePerimeter
Which of the following method names would be appropriate for a mutating method that saves the calculated perimeter of an instance's property for a square in Swift 3, considering the API design guidelines: