[HD-OCP17/21-Fundamentals Pg 0, Sec. 14.1.4 - functional-interfaces]
Posted: Mon Dec 02, 2024 5:15 pm
Hello!
here:
Shoudn't it be NewMove has three abstract methods including the two that it inherited from Mover?
Thanks!
here:
Code: Select all
@FunctionalInterface //Not OK
//NewMover has two abstract methods including the one that it inherited from Mover
interface NewMover extends Mover{
void m2(String str);
}
Thanks!