How does a concrete type declare that it implements an ordinary Go interface?
Answer & explanation
Answer: By having the required method set; no explicit declaration is needed
Interface satisfaction is implicit and depends on method sets.
Practice interfaces with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
Answer: By having the required method set; no explicit declaration is needed
Interface satisfaction is implicit and depends on method sets.