nageswararao thambura
why should constructor have the same name as class name?
By nageswararao thambura in C, C++, MFC on Feb 05 2008
  • Rahul Prajapat
    Jun, 2015 10

    constructor means it is automatically executed when ever an object is instantiated for that it takes the class name as constructor name.This is means it is easily identify the method with out object creation.

    • 0
  • chaitanya k
    Feb, 2008 9

    constructor means it is automatically executed when ever an object is instantiated for that it takes the class name as constructor name. This is means it is easily identify the method with out object creation.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS