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
Why can’t struct be used instead of class for storing entity?
What is the predicate of a sentence?
Constructor to an arbitrary base constructor?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
List out the differences between array and arraylist in c#?
Explain dataset.acceptchanges method in .net?
What is a console device?
What is the difference between method and constructor in c#?
Can a string be null c#?
What is use of list in c#?
How to implement a singleton design pattern in c#?
What are the various components in crystal reports?
What is an escape sequence? Name some string escape sequences in c#.
What are some of the commonly used commands in sqlcommand?
Can you inherit from a sealed class?