120k views
5 votes
Which of the following statements are true?

A) Interfaces contain one and only one implemented method, which is a constructor.
B) Interfaces are defined inside an abstract class.
C) All methods defined in an interface must be implemented when used by another class.
D) A true object-oriented design must contain as least one interface.

User Boblin
by
7.8k points

1 Answer

2 votes
ANSWER -

True. All methods defined in an interface must be implemented by a class that implements the interface.
User James Hay
by
8.1k points