Friday, June 26, 2009

Interfaces

An interface is essentially a collection of related constants and/or abstract methods, and in most cases it will contain just methods. An interface doesn’t define what a method does. It just defines its form, its name, its parameters, and its return type, so by definition the methods in an interface are abstract.

No comments:

Post a Comment