Q Functionality performed by a "constructor" is __________.

  • A Construct a new class
  • B Construct a new object
  • C Construct a new function
  • D Initialize Objects

MCQs Details

In object-oriented programming, a constructor is a special type of function called to create/initialize an object.