Constructor
Updated: 12/31/2022 by Computer Hope
A constructor may refer to any of the following:
1. In object-oriented programming, a constructor is a method or function for creating an instance of the class that it belongs. It has no return value and is usually identified by having the same name as the class itself. For instance, in Java, a class named "Animal" may have a constructor method also named "Animal" that runs automatically any time a new "Animal" object is created.
2. Constructor is a video game released in 1997 for computers running MS-DOS and Windows where the player controls a construction company.
3. Constructor is also a specialized version of the CAD (Computer-Aided Design) software ArchiCAD containing tools for building 3D models of large-scale construction projects.