ASP Programming Question: Download ASP Programming PDF
Why cant you specify the accessibility modifier for methods inside the interface?
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.
Previous Question | Next Question |
Whats an interface class? | And if they have conflicting method names? |