Object-Oriented Programming (OOP)
The following statement describes a specific concept. What is it called? a contract that defines a set of methods a class must implement without specifying how.
- A. Interface ✓
- B. This/self keyword
- C. Method overriding
- D. Abstraction
Correct answer
A. Interface
Explanation
Interface refers to a contract that defines a set of methods a class must implement without specifying how.