+ 2
Java Question
Would it be safe to assume that extends is for classes and implements if for interfaces
2 Answers
+ 28
No it wouldn't be safe to assume as:
đ¸A class can extends only a single class but can implement more than one interfaces.
đ¸A interface can extends more than one interfaces. But they can't extend a class.
I hope it was useful.
(đ
đ
đ
)