Question:

What output will be produced by the code below?

final class Dog {
    func bark() {
        print("Woof!")
    }
}
class Corgi : Dog {
    override func bark() {
        print("Yip!")
    }
}
let muttface = Corgi()
muttface.bark()

Answers:


Keywords:

© 2017 QuizBucket.org