Why can't you specify the accessibility modifier for methods inside the interface?
- In an interface, we have virtual methods that do not have method definition. All the methods are there to be overridden in the derived class.
- That's why they all are public.
No comments