When To Use Extend And Implement In Java?
2022-05-30
Implements is used for Interfaces and extends is used to extend a class. What is the difference between inherits and extends? extends keyword is used to inherit a class; while implements keyword is used to inherit the interfaces. A class can extend only one class; but can implement any numberRead More →