0 votes
in C Sharp by

Why can't you specify the accessibility modifier for methods inside the interface?

1 Answer

0 votes
by

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.

Related questions

0 votes
+1 vote
asked Feb 18, 2020 in JAVA by rahuljain1
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...