Before learning how to make our own class, we need to learn how to use it.
Don’t worry about the code, only focus on the last line, which creates an instance from the class and assign the instance to the variable me
.
Use instanceName.attributeName
to get or set the value of an attribute.
Use instanceName.methodName
to invoke method in the instance.
Next: How to Create a Class