Defining Classes

In this lesson, we will be learning about classes and how to define them.

Syntax for Defining Classes #

We define our own class by starting with the keyword class followed by the name you want to give to your new class.

Here’s the general syntax: