+ 2
What is the difference between implement and extends??
2 Antworten
+ 2
extends is used
for inheritance
implements is used
for deriving from an interface
0
Extends is for a class, implement for an interface:
https://stackoverflow.com/questions/10839131/implements-vs-extends-when-to-use-whats-the-difference