Nope. This is part of Object Oriented Programming, which is a bit abstract. People new to programming often have difficulties understanding it.YGOFreak1997 wrote:How you probably know by now, I am quite new to computer programming, but a class is kind of a program and a method is part of this "program" you can call within your code, right?
Here's a very basic and shallow explanation of classes:
A class is like a species, or a type. For example, you would have a class called House. And there is not just one house, but a lot of them. My house is a House, your house is a House. So the class House is a bit abstract, but my house and your house are called instances, and they are actual houses.
In programming languages, classes can have methods, that say what you can do with those classes. For example, the class Dog has the method bark(). So if we have a Dog called lassie, we can do lassie:bark().
I recommend getting familiar with more basic parts of programming before diving in OOP, but that's your call.