

McqMate
Q. |
UML interfaces are used to: |
A. | specify required services for types of objects. |
B. | program in java, but not in c++ or smalltalk. |
C. | define executable logic to reuse across classes. |
D. | define an api for all classes. |
Answer» A. specify required services for types of objects. | |
Explanation: an interface is like a template design for a class that contains no data or implementation; only definitions for methods, properties etc. |
View all MCQs in
Advance Software Engineering and TechnologyNo comments yet