What is an Interface? Have you ever developed an Interface.

Answers were Sorted based on User's Feedback



What is an Interface? Have you ever developed an Interface...

Answer / kinjal

interface is reference type and contain only abstract member.
interface member can be Methods ,events, properties and indexer. but interface contain only declaration of members.
interface can't contain constant ,data field, constructor ,static members, destructors.

Is This Answer Correct ?    8 Yes 1 No

What is an Interface? Have you ever developed an Interface...

Answer / arash

sorry i meant "its like multiple inheritance in C++ "

interface is an oops concept (inheritance)
its like multiple inheritance in C++
but we use Interface in .Net

Public Interface AnInterface //interface
Function WhoAmI() As String
End Interface

Public Class AClass
Implements AnInterface

Public Function WhoAmI() As String Implements AnInterface.WhoAmI
Return "AClass"
End Function

End Class

Is This Answer Correct ?    3 Yes 0 No

What is an Interface? Have you ever developed an Interface...

Answer / suren

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

Explain him if you have ever developed an interface.

Is This Answer Correct ?    2 Yes 1 No

What is an Interface? Have you ever developed an Interface...

Answer / arash

interface is a oops concept (inheritance)
its like multiple inheritance in C#.net with inheritance Key but we use Interface in VB.Net

Public Interface AnInterface //interface
Function WhoAmI() As String
End Interface

Public Class AClass
Implements AnInterface

Public Function WhoAmI() As String Implements AnInterface.WhoAmI
Return "AClass"
End Function

End Class

Is This Answer Correct ?    0 Yes 3 No

What is an Interface? Have you ever developed an Interface...

Answer / sourabh

Interface is a MIDIOUTER between USER and MACHINE LANGUAGE

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Dot Net General Interview Questions

How to load the contents of an xml file into an xmldocument object?

0 Answers  


Explain me why do we use msmq?

0 Answers  


What are the different types of memory in .net?

0 Answers  


Explain the difference between managed and unmanaged code?

0 Answers  


What are the authentication methods in .net?

0 Answers  






Please explain what is the difference between constants and read-only variables?

0 Answers  


What is managed code execution?

0 Answers  


what is use of learning .net? does we get good jobs based on .net?

2 Answers  


What is meant by globalization and localization?

0 Answers  


I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.

0 Answers  


What is Complex Class in .NET?

0 Answers  


Explain about .Net products?

0 Answers  


Categories