Multiple markers at this line
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.add(Object)
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.update(Object)
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.delete(Object)
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.select(Object)
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.save(Object)
- The type TestInterfaceImpl must implement the inherited abstract method TestInterface.getById(Object)
Cannot instantiate the type TestAbstract
package ce.service;
import java.util.List;
public abstract class TestAbstract
{
public List<Object> select(Object newObj)
{
return null;
}
public Object getById(Object newObj)
{
return null;
}
public boolean delete(Object newObj)
{
return false;
}
public boolean save(Object newObj)
{
return false;
}
public boolean update(Object newObj)
{
return false;
}
public boolean add(Object newObj)
{
return false;
}
}
package ce.service;
public class TestAbstractChild extends TestAbstract
{
}
package ce.service;
public class TestDemo
{
public static void main(String[] args)
{
TestAbstract t = new TestAbstract();
}
}
package ce.service;
import java.util.List;
public interface TestInterface
{
public List<Object> select(Object newObj);
public Object getById(Object newObj);
public boolean delete(Object newObj);
public boolean save(Object newObj);
public boolean update(Object newObj);
public boolean add(Object newObj);
}
package ce.service;
public class TestInterfaceImpl implements TestInterface
{
}