# CS61A - Spring 2014 - Generic Functions

### Notes:

#### Generic Functions and Type Dispatching

Generic functions are functions that we can create the are able to work on a variety of different objects. For example, if we have a Square class and a Rectangle class and we want to find the area of either, we should be able to make one function that takes in either of the objects, figures out what the type of the object is, and calls the right function to find the area for that object. (Read More!)

### Practice Problems:

Looks like there currently aren't any practice problems (yet) about Generic Functions...if you'd like to see some, let me know.