0: For yes 1: For no.
What is the keyword used to declare protocols in Swift?
What is the keyword used to declare unowned references in Swift?
Where are opaque types most commonly used?
What are type methods in Swift?
What happens if a programmer tries to access an unowned reference whose instance has been deallocated?
What will be the output of the following Swift code?
struct SomeStruct {
static let mult = 8
static subscript(i: Int, j: Int) -> Int {
return mult * i * j
}
}
print(SomeStruct[8, 8])
What integer data types are available in Swift?
When does Automatic Reference Counting (ARC) deallocate memory given to an instance in Swift?