I have written following interface with 3 abstract methods. Now class implementing this interface have to overwrite all of these 3 methods.
public interface Mapper {
public void createSchema();
public int getNoOfClasses();
public void setHost(String hostName);
}
I have a situation where one class should implement all of these 3 methods and other should only implement createSchema method. How this is possible using this interface.