public static void main(String[] args) { Abstract ext = new Extend(); Interface i = new Extend(); ext.display(); i.displayTwice(); }