In object-oriented programming, what is the purpose of an interface?
To define a contract that classes must implement, specifying their public methods and properties
To enhance code reusability and reduce code duplication
Baroque art features strong contrasts, while Rococo art prefers more subtle transitions
Baroque art is generally larger in scale than Rococo art

Computer Science Exercises are loading ...