Which of the below is a property of interfaces in java?
i. Interfaces can contain constants.
ii. interfaces can contain nested classes
iii. interfaces can contain method bodies.
i & ii
i, ii, & iii
Interfaces can contain nested classes (nested types) but it can't contain method bodies.
Back To Top