curriculum/challenges/english/blocks/learn-how-to-use-basic-programming-vocabulary-in-conversations/662f2e4b96f60636d44eb7db.md
A class is a fundamental concept, especially in object-oriented programming. It acts like a blueprint for creating objects. A class defines the properties (attributes) and behaviors (methods) that the objects created from the class can have.
For example, a Person class might have properties like name and age, and behaviors like talk() and walk().
A method is a function that is associated with an object. Methods define the behaviors or actions that an object created from a class can perform. They are like instructions that tell the object what to do.
For instance, in a Calculator class, a method might be add(number1, number2), which adds two numbers together.
I understand that BLANK are BLANK and BLANK, but BLANK BLANK used them in my code.
there
This word is used here to introduce the existence or presence of something.
classes
They are blueprints in object-oriented programming from which objects are created.
methods
They are functions associated with a class that define actions the objects of the class can perform.
I've
This is a contraction for I have, used here to describe personal experience with the subject.
never
It is used to indicate that something has not happened at any time in the past.
{
"setup": {
"background": "company2-breakroom.png",
"characters": [
{
"character": "Tom",
"position": {
"x": 50,
"y": 15,
"z": 1.2
},
"opacity": 0
}
],
"audio": {
"filename": "5.1-3.mp3",
"startTime": 1,
"startTimestamp": 12.8,
"finishTimestamp": 17.12
}
},
"commands": [
{
"character": "Tom",
"opacity": 1,
"startTime": 0
},
{
"character": "Tom",
"startTime": 1,
"finishTime": 5.32,
"dialogue": {
"text": "I understand that there are classes and methods, but I've never used them in my code.",
"align": "center"
}
},
{
"character": "Tom",
"opacity": 0,
"startTime": 5.82
}
]
}