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 is an Interface? Have you ever developed an Interface.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between abstract class and interface in .net?

1171


Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?

1059


Using activex control in .net?

1055


Explain me what is encapsulation?

1148


How to Create and Consume a Web Service?

3479


Explain what inheritance is, and why it's important?

1037


Differentiate between managed and unmanaged code?

1217


Using com component in .net?

1067


What is web.config in .net?

1070


I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?

1076


What is class library in .net

1151


What are the new features in .net core?

1093


Is .net a programming language?

1009


What's singlecall activation mode used for in .net?

1041


What is deferred execution vs. Immediate execution in linq?

1104