30: Interfaces. The Software Contract. - a podcast by Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes

from 2015-12-31T05:30:08

:: ::

Interfaces give you the ability to define behavior without actually implementing it. Why would you want to do that? Your classes can then declare support for interfaces which means that they promise to support that behavior. How your classes do this is up to them. Declaring support for an interface signals that they do this. You can have what might be completely unrelated classes all supporting the same interface which then allows you to work with them in the same way.

Further episodes of Take Up Code

Further podcasts by Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes

Website of Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes