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 |
Is java is a fully object object oriented language?
How to replace all occurrences of a string in JavaScript?
what is syntax of wapper class
Why would you use a sticky session?
What does break and continue statements do in javascript?
How do you create array in javascript?
Is javascript event driven?
What exactly does javascript do?
What is a javascript symbol?
What will happen if an infinite while loop is run in Javascript?
Difference between '=', '==' and '===' operators?
How Can I get facebook fans/likes?