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 / pradip kr sen

Basic Purpose is to use the defined structure/Pattern of
common implementation on the child location.

For example , in a straightline interface you defined
{x1,y1} and {x2,y2} as a parameter.
So while constructing triangle class with the help of
straighline interface(through inheritance) , you need to
follow the same number of parameter defined
on 'Straighline' Interface.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class have static constructor?

994


Is learning c# hard?

916


What is c# most used for?

982


What is difference between string and stringbuffer in c#?

953


What are custom exceptions in C#?

1025


What is difference between array and collection?

1082


What are the different types of classes in c#?

953


What is the interface in c#?

955


Does c# support a variable number of arguments?

1023


What is iqueryable and ienumerable in c#?

964


Define satellite Assembly in .NET?

989


What is the difference between constants and read-only?

918


Can bool be null c#?

885


What is difference between destructor and finalize?

931


What is ado net in c#?

903