A
constructor is a special method of a class or structure in object-oriented
programming that initializes an object of that type. A
constructor is an instance method that usually has the same name as the class, and can be used to set the values of the members of an object, either to default or to user-defined values.
read more >>