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

What is instantiating a class?

983


Write a syntax for writing a event delegate.

1001


What is trim in c#?

1051


What is yield return in c#?

1005


Give some examples of commonly used i/o classes?

962


Define Abstract Class in C#

1030


Can we declare class as protected?

1054


Explain about Error handling and how this is done

1007


Where value types are stored in c#?

987


Explain different properties of object oriented systems.

1046


What is overloading with example?

970


How do I create a new form in c#?

1031


Describe ways of cleaning up objects in c#.

948


Can int be null c#?

963


Which is more efficient for loop or while loop?

932