@FunctionalInterface //Not OK
//NewMover has two abstract methods including the one that it inherited from Mover
interface NewMover extends Mover{
void m2(String str);
}
Shoudn't it be NewMove has three abstract methods including the two that it inherited from Mover?
There are multiple definitions of Mover in that section and one of them has one abstract and one default method. So may be the author is referring to that but it is definitely confusing and should be fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.