Tried to implement both the methods as a same method. as below but it is throwing a NoClassDefFoundError
Code: //
public class
test extends AbstractAccept implements Acceptable {
public void accept(){
System.out.println("running Successfully");
}
public static void main (
String[] args) {
(new test()).accept();
}
}