What is an Interface? Have you ever developed an Interface.
Answer Posted / 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 |
Post New Answer View All Answers
How to get the number after decimal point in .net?
How to convert a .NET object into COM operabililty?
Is .net an object oriented language? What are their components?
Can you write a class without specifying namespace?
What is Full trust permission set in .Net
What is "common language runtime" (clr) in .net?
How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?
Explain the difference between asp.net & vb.net and explain architecture?
What is the purpose of IClonable interface in .NET?
When displaying fonts, what is the difference between pixels, points and ems?
Explain me how does linq work?
Please explain what is the .net framework and how does it work?
What is multiThreading in .NET?
What is the concept of inheritance and how it works in .net?
Difference between abstract class and interface in .net?