Social Sciences, asked by lokeshdot2223, 1 year ago

Difference of extends and interface of inheritance

Answers

Answered by shailjarathore
0

Answer:

Difference: implements means you are using the elements of a Java Interface in your class. extends means that you are creating a subclass of the base class you are extending. You can only extend one class in your child class, but you can implement as many interfaces as you would like

Similar questions