Answer Posted / susheel kumar
A constructor is a special type of member function for
automatic initialization of an object.
when ever an object is created the constructor will be
executed automatically.
the name of constructor same as that of its class.the
constructor is declared with no return type,not even void.
constructor should be declared in the public section most
of the time.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which keyword is used to print the text in the screen?
Explain how to detect the operating system on the client machine?
Is javascript free to install?
Is javascript array dynamic?
what difference between args.length and args.length() in command line argument?
How do you disable javascript?
What is unobtrusive javascript?
How are javascript and ecma script related?
How typeof operator works?
List some of the advantages of javascript.
What is jscript used for?
How do I use javascript to password-protect my web site?
Explain how can you submit a form using JavaScript?
How to open url in a new tab in javascript?
What is the purpose of local variables?