java extend vs implement 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