
Call 1800-123-2003
"Smartindia is the best online tool for school students." Ms Deepa Chandran, Principal Anchal
"Smartindia is one of the best supplementary education tool for school students." Ms Pooja, Principal
Please give me the syntax of constructor?. |
A constructor is that unit of a class which is used to initialize the data members.The name of the constructor is same as the class name.A constructor automatically invoked whenever an object of the class is created. Syntax : ClassName( ) { statements ; } |