IBM
C2140-833 · Question #27
Which two statements are true about interfaces? (Choose two.)
The correct answer is A. The interface should have a clear purpose. D. Classes may have multiple interfaces depending on the purpose of each interface itimplements. See the full explanation below for the reasoning.
Question
Which two statements are true about interfaces? (Choose two.)
Options
- AThe interface should have a clear purpose.
- BA single interface should include as many possible methods, if not all methods, that may be
- CAn interface should be used to restrict which methods are exposed to a client.
- DClasses may have multiple interfaces depending on the purpose of each interface itimplements.
How the community answered
(19 responses)- A74% (14)
- B11% (2)
- C16% (3)
Community Discussion
No community discussion yet for this question.