.Net > Interfaces > Beginner Next/Skip this question

Is the following true about an interface?

1. An interface looks like a class, but has no implementation. The only thing it contains are declarations of events, indexers, methods and/or properties.
2. An interfaces defines a contract. Any class that implements an interface has to fulfil that contract. This means that the class must implement methods defined in the interface.
Answers :
Explaination :
social share share on facebook share on twitter share on google plus share on linkedin
Add Comments :



Next Question