public class extends implements java 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