extends vs implements in java code example
Example: extends vs implements java
both are used for inheriting
extends:
class extends class
interface extends interface
implements:
class implements interface1, Interface2 …