Nieuws

Constructors Another common feature of object-oriented programming classes is the constructor. You notice when we create a new object, we call new and then the class like a function: new Dog().