Answer Posted / mohit jethva
1. Interface is use for follow the some coding standard
2. If we create interface then each and every devloper has
to implement all the methods.
3. For e.g. If we are creating application for Vichele then
we need to create one interface for two wheeler and one
interface for four wheeler. When any of devloper is going
to extend it then he/she has to implement every method like
Break , Gear , Liver etc....
4. Force to implement all the methods from interface.
5. Multiple inheritance.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
Is there any sample c# code for simple threading?
How garbage collection deals with circular references.
Why we use methods in c#?
What is virtual class in C#?
What is the default value of boolean variable?
What is private protected in c#?
What is variable and its classification?
Explain about multithreading?
Are structs faster than classes?
Why do we need generics in c#?
What is a generic c#?
Is null empty or whitespace c#?
Can we override constructor in c#?
Does c# provide copy constructor?