What is constructor?
Answer / 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 |
how to post the form without submit button with help of javascript
What is JavaScript?
What are the application of javascript?
How to convert javascript date to iso standard?
How can the os of the client machine be detected?
What is the data type of variables of in javascript?
What is null in js?
What are escape characters?
How can you create an Array in JavaScript?
How to clone an object in javascript?
Describe negative infinity in javascript?
When would you use javascript closures?