Everything About ___
Live briefing

Everything about Constructor (object-oriented programming)

Special function called to create an object

In class-based, object-oriented programming, a constructor is a special type of function called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Constructor (object-oriented programming)A 5-minute orientation
  2. Pick up a classic book: Fundamentals of Computer Programming with CSharp Free Book (by Nakov & Co.)The most-reprinted book on the subject
  3. Read the landmark paper: Constraint-Based Object-Oriented ProgrammingCited 3 times
  4. Go sideways: C Sharp syntaxA closely related topic
  5. Go sideways: C++ classesA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Types
  2. Syntax
  3. Memory organization
  4. Language details

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics