What is InterFace???

Answers were Sorted based on User's Feedback



What is InterFace???..

Answer / gopathi vamseedhar

it is a class whos members doesnt contain any definition

Is This Answer Correct ?    8 Yes 1 No

What is InterFace???..

Answer / anita chauhan

we can say its a collection of function or in standard form
its definition is: It is a syntactical contract that all
the derived classes should follow.

Is This Answer Correct ?    1 Yes 0 No

What is InterFace???..

Answer / supraja polam reddy

An interface in C# is type definition similar to a class
except that it purely represents a contract between an
object and a user of the object. An interface cannot be
directly instantiated as an object. No data members can be
defined in an interface. Methods and properties can only be
declared, not defined

Is This Answer Correct ?    1 Yes 0 No

What is InterFace???..

Answer / dhanunjaya

An interface is the contract between the class and itself.
an interface can contain abstract memberrs only.
And more over an interface can contain abstract
functions,abstractv properties,abstract events,abstract
indexers,but not contain
variables,functions,constructors,destructors.it provides
the rules that can followed by all the derived classes......

Is This Answer Correct ?    0 Yes 0 No

What is InterFace???..

Answer / padmaja

In interfaces we can define the methods.but, no
implementation can be done.

Is This Answer Correct ?    0 Yes 0 No

What is InterFace???..

Answer / muhammad zohaib brohi

interface are not class... they are like class .. interface contain functions and variables which describe a group of related functionalities.... interface contains of incomplete functions.... we use interface to achieve multiple inheritance ...

Is This Answer Correct ?    0 Yes 0 No

What is InterFace???..

Answer / dhanunjaya

An interface is the contract between the class and itself.
an interface can contain abstract memberrs only.

Is This Answer Correct ?    1 Yes 2 No

What is InterFace???..

Answer / ajay kumar singh

A user defined data type very similar to a class that contains all abstract methods.

Is This Answer Correct ?    0 Yes 1 No

What is InterFace???..

Answer / prathyusha

Interface is construct which is a universal common
reusable data memebers and universal common reusable
methods..

Is This Answer Correct ?    0 Yes 2 No

What is InterFace???..

Answer / ragupathy

An Interface is like a class. we can't create object of the
class. we inherit the members of the interface.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Sharp Interview Questions

What does it mean?

0 Answers  


What is the use of dll file in c#?

0 Answers  


Explain the use of SN.exe

0 Answers   Accenture,


Did a generic class can be inherited by a normal class?

1 Answers   TCS,


which access modifier we can declare the abstract class?

5 Answers   IBM,






what is Diff Gram

2 Answers   HCL, Nippon,


Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?

5 Answers  


What is the difference between constants and read-only?

0 Answers  


Why do we need generics in c#?

0 Answers  


Why is it a bad idea to throw your own exceptions?

1 Answers   Visual Soft,


Which are access modifiers available in c#?

0 Answers  


difference between keyword internal and protected?

5 Answers   HCL,


Categories