Write some properties of constructor?
Properties of Constructor Function: Following are some properties of Constructor Function They will have the same name as of their class. They should be declared in the public section. They are executed automatically when objects are created. They do not have return types, not even void and thus they can’t return values. They can’t be … Read more