how does java require that all classes that implement interfaces must have a constructor whose input parameter is class B?
the code is as follows:
public interface VO {
VO(DTO dto);
}
write an error like this:
error:Not allowed in interface
but what should I do if I have such a need? Or can"t I have such a need, or shouldn"t I have such a need?