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 Interface? Explain with an example.

Answer Posted / radhika

An interface defines a contract for a class.The name of an
interface begins with a capital I.interface doesnot
contains any method implementations.The class that
implements the interface must provide all the
implementation for the members defined in that 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 the difference between method overriding and method overloading?

868


Can you have more than one namespace in c#?

878


How to implement an object pool in c#.net.

994


What is the purpose of abstract class in c#?

868


How does a while loop work?

826


Why do we use overloading in c#?

927


What is the use of static members with example using c#.net.

869


Are private members inherited in c#?

917


What is public void in c#?

931


How can I develop an application that automatically updates itself from the web?

840


What is encapsulation in csharp?

925


What do you mean by saying a "struct is a value type"?

862


Give examples for reference types?

934


Is it possible to execute multiple catch block for a single try statement?

1011


What is the difference between ienumerable and iqueryable?

879