What Are Constructors

  • 5 Dec, 2011

    Constructors are used for initializing the members of a class whenever an object is created with the default values for initialization.If no constructor defined then the CLR will provide an implicit constructor which is called as Default Constructor.A class can have any number of constructors provided they vary with the number of arguments that are passed, which is they should have different signatures.Constructors do not return a valueConstructors can be overloaded

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.