0

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();
}
Laf
  • 7,595
  • 4
  • 38
  • 51
Rajesh
  • 109
  • 1
  • 8

0 Answers0