What is the primary purpose of an interface in OOP?
What is the primary purpose of an interface in OOP?
- A.
To provide a blueprint for creating objects
- B.
To define a set of methods that must be implemented by implementing classes
- C.
To define constructors for classes
- D.
To create static methods
Attempted by 88 students.
Sign up free to check your answer
Sign up freeLoading lesson…

