1 package com.twisters; 2 interface TwistedInterface{void getA();} 3 4 class TwistedBase implements TwistedInterface { 5 public void getA() {} 6 } 7 8 public class TwistedClass extends TwistedBase implements TwistedInterface { 9 public static void main(String[] args) { 10 System.out.println("In Main"); 11 } 12 }