What is an interface?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is an interface?
Rating:
An interface is a reference type that defines a contract. An interface body consists of method declarations and constants. All methods and constants in an interface are public. Interfaces are left completely unimplemented, i.e., no method in the interface is implemented. All methods of an interface are abstract and the method body is absent. A class may access one or more interfaces simultaneously.
Rating:
Was this information helpful?
Other articles
- What is the XmlLinkedNode class?
- Types of Assemblies
- What is the IsPostBack property?
- What are Preemptive scheduling and Time-Sliced scheduling?
- How to evaluate the logical design of an application?