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

What is expression c#?

916


Can interface have virtual methods in c#?

887


What is the solution if you need to manipulate sets of items?

876


Why c# is called type safe language?

838


Can we have static indexer in c#?

916


Does c# provide copy constructor?

1012


What is the difference between abstract class and interface in c#?

960


What is the difference between arraylist and list in c#?

916


Is it possible to force garbage collector to run?

903


Difference between value and reference type. What are value types and reference types?

996


What is the difference between mobile application and desktop application?

888


What is selector c#?

907


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

925


Does c# support multiple inheritance (mi)?

942


What's the difference between system.string and system.text.stringbuilder classes?

1050