This lesson introduces the concept of Object-Oriented Programming, or OOP. OOP means that you can create objects, which can contain variables and objects. The variables of these objects are referred to as properties, and the functions of these objects are referred to as methods. A class is an object constructor, and this lesson explored creating new classes and creating individual instances of those classes. In the following example, I created a class named Dog, and construct two new instances of the class Dog; dog1, which holds the name "Barker", and dog2, which holds the name "Amigo". dog1 calls the method bark, while dog2 calls the method greet. This results in the output, "Woof! Hello, human! My name is Amigo!"
