PRACTICE / UNDERSTAND / REPEAT

Go practice question

Practice interfaces with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Interfaces · MCQQuestion link ↗

How does a concrete type declare that it implements an ordinary Go interface?

Choose one answer
Answer & explanation

Answer: By having the required method set; no explicit declaration is needed

Interface satisfaction is implicit and depends on method sets.