Possible Duplicate:
Java abstract interface
public interface Foo {
abstract public void bar();
}
I guess we don't need to declare abstract
as well as public in the above interface
. Will the compiler catch this is as a warning or is it allowed by the compiler.