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...

can we create an empty interface with no definitions? If
so, how it should be called in the class?

Answer Posted / bindu sharma

Yes we can create an empty interface.Empty interface is
called a marker interface.It is used by Comiler so we don't
need to call it explicitly.As there is no method in marker
interface,So we don't need to call it.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get the ascii code for a character in c#?

1116


Explain the difference between boxing and unboxing.

1067


What is type cast in C#?

1041


What are custom exceptions?

985


What is a string c#?

949


What is the major difference between a custom control and user control?

1105


What do you mean by serialization in .NET?

1085


What are the differences between static, public and void in c#?

1130


Define clr in .net?

1049


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

1042


What is inheritance in csharp?

1063


Which class comes after the SortedList class?

1015


What is .edmx file?

1054


What is difference between hashtable and dictionary in c#?

1000


If a child class instance is created, which class constructor is called first - base class or child class?

974