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?s an interface class?

Answers were Sorted based on User's Feedback



What?s an interface class?..

Answer / lakshmi

1)An Interface is a reference type and contains only
abstract members.
2)Interface contains declaration of methods, properties,
Indexers and events.
3)You can never instantiate an interface, it only contains
signature of its members.
4)An Interface has neither constructors nor fields.
5)An Interface definition also not permitted to contain
operator overloads.It is also not permitted to declare
modifiers on the members in an Interface definition.
6)An Interface members are always implicitly public and
cannot be declared as virtual or static.

Is This Answer Correct ?    9 Yes 0 No

What?s an interface class?..

Answer / suresh.gv

Interfacess is a Collection of Method Prototypes.
These methods must be implemented in the Implemented Class.
Eg:
---
If we are having 10 methods in the Interface Class
All the 10 methods must be implemented in the Implemented
class.
Note:
-----
The main thing is by using The Interface Concept we can
acheive Multiple Inheritance in dotnet.

Is This Answer Correct ?    6 Yes 1 No

What?s an interface class?..

Answer / monu sharma

Interfacess is a Collection of Method Prototypes.
These methods must be implemented in the Implemented Class.

->An Interface is a reference type and contains only
abstract members.
->Interface contains declaration of methods, properties,
Indexers and events.

->An Interface members are always implicitly public and
cannot be declared as virtual or static.

Is This Answer Correct ?    0 Yes 0 No

What?s an interface class?..

Answer / tsahi

An interface class is a figment of your imagination. There
is no such thing; a class and an interface are two similar,
but separate things.

A class describes an object. An interface describes a set of
methods that an implementing class or struct must implement.

Is This Answer Correct ?    1 Yes 3 No

What?s an interface class?..

Answer / umesh

It?s an abstract class with public abstract methods all of
which must be implemented in the inherited classes.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Sharp Interview Questions

what is an event? Define delegate?

0 Answers  


what are pointer types in c#

0 Answers   Cognizant,


What is the purpose of dependency injection?

0 Answers  


What is jit (just in time)?

0 Answers  


What is sealed class in c#?

0 Answers  


What is the difference between first and firstordefault?

0 Answers  


What are nullable types? Is Nullable<int> I and int ?i are same.

2 Answers   TCS,


What is AutoMapper in C#?

0 Answers   Infosys,


Explain the advantage of using system.text.stringbuilder over system.string?

0 Answers  


what is an internal specifier? what happens internally when I use access specifier Internal ?

4 Answers   rsystems,


What is the difference between directcast and ctype?

2 Answers   BirlaSoft, Wipro,


Why do we need to serialize data?

0 Answers  


Categories