At first, thank you, authors, for providing such an effective and affordable way to prepare for Java certification, your work is significant. I'll paste the question code and one of the explanations to illustrate what I want to clarify:
Code: Select all
interface Book{
public default String getId() {
return "ISBN123456";
}
}
interface Encyclopedia extends Book{
//INSERT CODE HERE
}
Code: Select all
static String getId() {
return "AIN8888";
}