Why can?t you specify the accessibility modifier for methods
inside the interface?
Answer Posted / guest
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
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between arraylist and array and in c#?
Describe ado.net?
What type of data type conversion happens when the compiler encounters the following code?
What are Memory foot print of an exe?
How to implement an object pool in c#.net.
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
How do you concatenate in c#?
What are callback methods in c#?
How do you prevent a class from being inherited?
What is jit (just in time)?
Explain manifest & metadata in c#.
what is difference between is and as operators in c#?
What is deadly diamond problem?
What is the difference between ienumerable and enumerator?
Explain types of comment in c# with examples