In this article
To create a class, use the class keyword followed by a name for the object.
The body of a class starts with an opening curly bracket "{" and ends with a closing one "}".
Example
Class myCar
{
var Model : String;
var Color : String;
var Horsepower : int;
}
Since a class is built from combining variables, you will list each variable inside of the body of the class. Each item that composes the class is represented as a complete variable declared with a data type and a name. As a variable, each declaration must end with a semi-colon.