What is a Constructor
A constructor gives a new object the starting values it needs, and `this` tells the object's own variable apart from a parameter with the same name.
Updated

- Category
- Java
- Level
- Apprentice
- Tags
- java, OOP
A constructor gives a new object the starting values it needs, and `this` tells the object's own variable apart from a parameter with the same name.
Updated
