CrazyEngineers
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • micheal john

    MemberJun 7, 2015

    #-Link-Snipped-# Can you elaborate you question with an example
    Are you sure? This action cannot be undone.
    Cancel
  • Phenomenal

    MemberJun 8, 2015

    A constructor is defined and not called when you run the program (i.e main method gets called).
    A constructor is called only when you create an object of a class.
    I'll brush up on my basics and provide you a proper answer here in a bit.
    Are you sure? This action cannot be undone.
    Cancel
  • Shashank Moghe

    MemberJun 9, 2015

    The constructor is "invoked" and not explicitly called when an object is created. I believe that is the only reason a static function, Main(), can allow an implicit call to the constructor.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register