ASP Programming Question: Download Questions 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.
Download ASP Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
Whats an interface class? | And if they have conflicting method names? |