there, I was taught that interface and abstract class has no implementing/method bodies other than method signatures(name, parameters) and return type, so generally, we write:
public void methodName(parameters);
However, I am wondering can we write it like:
public String methodName(parameters);
As it indicates the return type can be in the method when we create interface or abstract class