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,965
  • 4
  • 37
  • 52
Rajesh
  • 119
  • 1
  • 8

0 Answers0