Try it out yourself 2
must we implement all abstract methods from the interface ?
interface I {
int f();
int g();
}
class A implements I {
int f() { returns 1; }
}
Previous slide
Next slide
Back to first slide
View graphic version