Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the purpose of Interfaces?

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


Please Help Members By Posting Answers For Below Questions

Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

1026


Is there any sample c# code for simple threading?

975


How garbage collection deals with circular references.

924


Why we use methods in c#?

1019


What is virtual class in C#?

1042


What is the default value of boolean variable?

1028


What is private protected in c#?

949


What is variable and its classification?

1009


Explain about multithreading?

1096


Are structs faster than classes?

986


Why do we need generics in c#?

988


What is a generic c#?

952


Is null empty or whitespace c#?

1014


Can we override constructor in c#?

968


Does c# provide copy constructor?

1079