29: Abstract Classes. Incomplete On Their Own. - a podcast by Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes

from 2015-12-30T05:39:22

:: ::

What if you were writing a class that you wanted to be a base class? A class designed from the very beginning to bring together other classes with common behavior. What if you also wanted to guarantee that this class could never be created by itself? That it must always exist as a base class for some other class? All you have to do is make your class abstract. Then it can only be instantiated as part of another class that derives from your class. This episode will explain why you might want to do this and how.

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