interface A {
aFunction();
}
interface B extends A {
bFunction();
}
public class ImpleTest implements B{
aFunction(){}
bFunction(){}
}
why this is not compiling?
First of all your methods don't have a return type.
Secondly,
The methods in an interface are by default
public abstract. Now when you override a method (in our case public) you can't make it's access type less restrictive(eq from public to default in your case).
Assuming return type void :