ASP Programming Question: Download ASP Programming PDF

Why cant you specify the accessibility modifier for methods inside the interface?

Tweet Share WhatsApp

Answer:

They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice, you are not allowed to specify any accessibility, it’s public by default.

Download ASP Programming PDF Read All 194 ASP Programming Questions
Previous QuestionNext Question
Whats an interface class?And if they have conflicting method names?