Classes
Classes are containers that can be defined for splitting functions into different groups. To define a class simply type:
The following has defined a class and a function. To access a specific function from a class simply type the following:
As you can see we have defined what class we are going to access, and what function from the class we are going to access. But remember that functions inside of classes can only be accessed by defining the class in your function call first.
Last updated
Was this helpful?