Let’s say I have 2 interfaces here, Moveable and Walkable (sorry for the bad example, but please if you have a better one kindly post it)
interface Runnable{
void run();
}
interface Walkable extends Runnable {
void walk();
}
public class Human implements Walkable {
}
And the interface Walkable is a subclass of Runnable, when the Human class implements the Walkable interface should the Human class provide implementations for void walk() from the interface Walkable and void run() from the interface Runnable? does the interface Walkable inherit the abstract method run() from the interface Runnable?
Yes, your Human class will need to implement both the walk() and run() methods.