Why can?t you specify the accessibility modifier for
methods inside the interface?
Answer Posted / swapna
They all must be public. Therefore, to prevent us from
getting the false impression that we have choice to access,
so we are not allowed to specify any accessibility, it's
public by default.
Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What language do desktop applications use?
How do I convert a string to an int in c#?
What is a linq in c#?
What are methods in C#?
What is difference between write and writeline in c#?
What does console readline do in c#?
What is difference between private, protected, and public in C#?
what is an event? Define delegate?
What do you mean by casting a data type?
What exactly is serverless?
List down the fundamental oop concepts?
How to sort an int array in c#?
How garbage collection deals with circular references.
What is Implementation inheritance
write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )