Which programming language is this?
protocol Drawable {
func draw()
}
Answer: Swift
protocol with func members is Swift's interface declaration.protocol Drawable {
func draw()
}
Answer: Swift
protocol with func members is Swift's interface declaration.