Computer Science, asked by nidhiagarwal, 1 year ago

What differences between constructor and function signature.

Answers

Answered by AniruddhParwal
3
Constructor gets invoked as the objet of class is created...But we have to call the function with the help of object
Answered by arvind961611222
1
Constructor signature does not consists of any return type not even void.
Function signature consists of the return data type if d func returns a value and void if it does not.
Similar questions