what is interface and when it is used?



what is interface and when it is used?..

Answer / Dharmendra Kumar Gupta

An interface is a collection of abstract methods (without implementation) that define a contract for a set of methods that a class implementing the interface must provide. Interfaces are used in object-oriented programming to achieve polymorphism, allowing multiple classes with different implementations to be treated as a single type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB.NET Interview Questions

When do you use virutal keyword?

1 Answers  


I'm unable to open a .hlp file using vb.net application.

1 Answers  


Explain about globalization?

1 Answers  


What is non_deterministic finalization?

1 Answers  


Did vb6 support multi-threading ?

1 Answers  


What is public assembly?

1 Answers  


1234 123 12 1 how to design above pic in vb.net?

2 Answers   ABC,


What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

5 Answers  


What is MSIL.

8 Answers   HDFC,


Explain the advantages of migrating to vb.net?

1 Answers  


The default back end of the VB is

1 Answers   Hexaware,


how to deploy vb.net with key and evaluation time? any one can help me?

1 Answers   TSYS,


Categories