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

Why is main static in c#?

911


What is the root element of an xml file?

821


What is decimal in c#?

863


What is the use of protected in c#?

882


write a C# Program add two matrix ?

956


What is static variable in c#?

898


How many digits are in an integer?

805


Why do we need events in c#?

920


What is difference between static and constant variable?

937


Can we call server-side code (c# or vb.net code) from javascript?

896


Can we declare class as protected?

920


How to prevent the error while updating ui control from another thread?

909


Give an example of a directcast.

871


Why do we use static methods in c#?

959


Difference between a sub and a function in c#.

926