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 |
What are the advantages of using JavaScript?
What are the difference between undefined and not defined in javascript?
What is function overloading in javascript?
I am working on project in asp.net in which i have opned doc file on client side.plz send me coding on markpatentoffice@yahoo.com.
What is null javascript?
Can you explain how inheritance works in javascript?
Write a program to exaplain the deferred scripts using event handlers in javascript.
how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.
What is the use of Push method in JavaScript?
Write JavaScript code to use file system in binary format?
Is javascript the future?
What is spread operator?