1.

Explain Constructor.

Answer»

Constructor is a method in the CLASS which has the same name as the class (in VB.Net its NEW()). It initializes the MEMBER attributes WHENEVER an instance of the class is created.

Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initializes the member attributes whenever an instance of the class is created.



Discussion

No Comment Found