Pete Letkeman wrote:Welcome to CodeRanch Jilson.
I hope that you find the community here welcoming, knowledgeable, friendly and sharing.
You get 111 due to the fact that static methods belong to interfaces. If you wanted to call the worldRecord() method from the Moveable interface you would need to do something likeThe current code is calling the default instance method of Jumpable interface.
Default methods of interfaces are inherited in classes and must be called from class instances. Default methods can also be overridden.
Static methods of interfaces are not inherited in classes and must class from interfaces. Static methods can not be overridden.
Here is an Oracle tutorial attempting to explain both Static and Default methods in interfaces https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html which may help you out.
Looks like you attempted to use the code tags when posting your question, however it did not work out as expected.
Here is a quick write up on how codes can be used https://coderanch.com/wiki/659781/Code-Tags