syntax for writing private method in a interface
Answer Posted / vanitha
An interface cannot have private methods. All the member
declarations inside interface are implicitly public.
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What are the advantages of using assemble language programming?
Is for loop faster than foreach?
What is the importance of closing an ado.net application?
What is string interpolation in c#?
Is collection a data structure?
What is difference between overloading and short circuiting?
Define parsing? Explain how to parse a datetime string?
Does a class need a constructor c#?
What is difference between private and protected?
What is the use of GC.KeepAlive Method?
Can an array be null c#?
Explain the types of errors in c#?
Is comparable a functional interface?
What are Types of assemblies that can be created in dotnet
How is a loop recorder monitored?