oop-examples/lessons/Classes.md

15 lines
486 B
Markdown
Raw Normal View History

2020-04-03 10:47:05 +02:00
# 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.