Using the Spring Framework, it is customary to create a service to create an interface that defines the main methods of the service.
interface MultiplicationService {
    long execute(int a, int b);
}
class MultiplicationServiceImpl implements MultiplicationService {
    // implementation
}
What is the point of creating an interface?
 
    