A class is a chunk of code that performs a certain function within your program. In object-oriented programming a class is a template, or the building blocks, for an object. If you had a class of dog it would contain everything that a dog has such as what type of tail it has, what colour … Continue reading Class