K I'm just going to type in complete layman's terms
So in object orientation based programming we model everything in terms of "Objects". In order to create an object we need to provide the computer with a blueprint so that it knows how to create a particular object. We call these blueprints "Classes". An object is then an instance of this class.
So a blueprint of a car would be a class.
The actual finished car would be an instance of that class known as an object.
Following this example:
A class is typically defined in its own file as follows the syntax of
class Car {
}
This is known as the class definition. In this section of code is where we define all the properties and methods that a car will have.
Hope this helps
EDIT:
As the above post says. You're jumping right into code without understanding what's going on. First go and learn the basics of Object Orientation and then go from there.