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

Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

945


What is difference between dll and exe in c#?

905


What is a c# delegate?

989


What does return do in unity?

888


What are the fundamental oop concepts?

888


What are anonymous types in c#?

843


What do you mean by the delegate in c#?

847


What is the use of readkey in c#?

911


What is the extension of c# file?

917


What is thread safe in c#?

835


What type is string in c#?

817


What is data reader in c#?

993


Who introduced c#?

812


How do I simulate optional parameters to com calls?

902


What are the 2 kinds of data type conversions in c#?

818