• Question: What is a default constructor?

    Asked by anon-200867 to Rosemary on 5 Mar 2019.
    • Photo: Rosemary Josekutty Thomas

      Rosemary Josekutty Thomas answered on 5 Mar 2019:


      Default constructors are used in programming languages as part of it. It can point to a constructor that is auto-generated by the element called compiler when the programmer has not written any constructors. It some programming languages it is usually an empty (or null) constructor.

Comments