31. What is a constructor?

  • A function that is called to create an instance of an object.
  • An instance of a class.
  • A specific object that has been created using the class name.
  • An object literal

Leave a Reply