A constructor is the method of a class that is called when an object of that class is created. The constructor initializes class parameters and has the same name as the class.
constructor returns the reference id of class.
Liked By
Write Answer
What is a constructor?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
22-Sep-2014