implementing and interface and extending a class java diffrence code example
Example: public class extends implements java
extends is for extending a class.
implements is for implementing an interface
extends is for extending a class.
implements is for implementing an interface