PPT Slide
Implements - classes implement interfaces.
[ClassModifiers] class ClassName
[implements Interface1, Interface2, ….]
{Class MemberDeclarations, ClassMethodDeclarations}
interface student interface employee
{float getGPA() {float getSalary()
//other methods} //other methods }
public class StudentEmployee implements student, employee
{float getGPA(){ implementation of getGPA}
float getSalary(){ implementation of getSalary}
Note that a class can implement many interfaces.