Answer
A contract that defines method signatures without implementation.
A class must implement all the interface members.
interface IAnimal { void Speak(); }
A class must implement all the interface members.
interface IAnimal { void Speak(); }
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ