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 is the advantage of singleton class?
What is a reference type c#?
Can you instantiate a struct without using a new operator in c#?
Is exe is machine dependent?
What kind of the information stored inside the assembly?
How many types of constructors are there in c#?
What is the name of c# compiler?
How many digits is a 32 bit number?
What is the difference between string and stringbuilder in c#?
What is a delegate? Explain.
How do you escape a character?
What does out mean c#?
Why is c# a good programming language?
What does int32 mean in c#?
Is string mutable in c#?