15 lines
486 B
Markdown
15 lines
486 B
Markdown
|
# Creating Classes
|
||
|
|
||
|
This lesson is going to use the same code from last time to explain
|
||
|
the class structure itself.
|
||
|
|
||
|
Since the example languages can have quite different styles of
|
||
|
class declaration, I will just give a basic explanation here and then
|
||
|
discuss every language in detail in their own description file.
|
||
|
|
||
|
Classes are blueprints for the objects you create. You define how the
|
||
|
object will look like and more importantly for the computer how much
|
||
|
space it will use in memory.
|
||
|
|
||
|
|