Let us say you have an interface:
public interface Change {
void updateUser();
void deleteUser();
void helpUser();
}
I have read that the interface is Java’s way to implement multiple inheritances. You implement an interface, then you have access to its methods. What I don’t understand is, the methods don’t have any body in the interface, so you need to give the method a body in more than one class. Why is this better than just having individual methods in your classes, and not implementing an interface?