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 does question mark mean in c#?
What is datatable and dataset in c#?
What are delegates in C#?
Is null or empty in c#?
What is dbcontext c#?
What does immutable mean in c#?
What is or operator in c#?
Why is c# used?
what is main function of alternate teamplate of datalist?
Explain the difference between user control and custom control. Also, explain their use.
What is Fragmentation and its Types?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
How do I format a string in c#?
What is the differences between datagrid, datalist and repeater in .net?
Is friend a constructor?