Swift - Optionals
What will be the output of this code?
class Cat {
var age: Int
init(age: Int) { self.age = age }}
var cat: Cat? = nil
print(cat?.age ?? -1)