Super classes, sub classes, inheritance, oh my!
A class can be considered as something like a blueprint or a template. A class contains both attributes and behaviors, providing something like a definition for objects. In a class, there are properties, which provide the attributes for an object. Let's say you're looking to get a new smartphone. One of the first things you might do is look up the specifications of a phone. Here's a sample of some specifications you might see: Processor Operating system Display Storage RAM Rear camera Front camera Battery Size Weight Network Connectivity Now, these are all properties of a phone that can change, depending on what brand and model you might get. Different phones have different processors, storage space, battery size, and so on. They all generally have these specifications though, or properties. Now what kind of behaviors would a phone have? Call Text Listen to music Check email Browse the internet Use apps ...