What is the default access modifier for a method in interface in java ? And what should be the access modifier of the implementation for its package private method ?
public interface FooBar{
public void Foo();
void Bar();
}
What is the default access modifier for a method in interface in java ? And what should be the access modifier of the implementation for its package private method ?
public interface FooBar{
public void Foo();
void Bar();
}