we cannot declare abstract methods in the interface as protected and defaul
the purpose of the interface is simply to declare a contract. your client will execute it, and for this it must be public.
public static final ,
, , , , .
Update:
- , ... ...
public class BaseAbstractClass {
private Connection getConnection(){
}
public boolean save(){
}
public abstract void saveEntity();
}