What are the implications of doing the following:
protocol A {
func f()
}
extension A {
final f() {}
}
I'm looking to understand what putting final
in the extension over here does when compared to not putting it. I know what final
does, I'm looking to understand overriding behaviour for classes implementing/not implementing f
and their subclasses.