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