public interface MyInterface { // just the signature, no body, implied instance and public. int aMethod(); // ... }and a abstract class
abstract class GraphicObject { int x, y; ... void moveTo(int newX, int newY) { ... } abstract void draw(); }T.I.A.