Let\'s look at the following simple code snippet in Java.
interface Sum
{
abstract public void showSum();
}
interface Mul
{
abstract public void showMul
From Oracle's Java tutorial:
a class that implements an interface must implement all of the interface's methods. It is possible, however, to define a class that does not implement all of the interface's methods, provided that the class is declared to be abstract.
Reference document: https://docs.oracle.com/javase/tutorial/java/IandI/abstract.html , section When an Abstract Class Implements an Interface.