Tuesday, November 29, 2011

What is Constructor?

* A constructor is a special method whose task is to initialize the object of its class.:constuctor name and class name is must same:=>The main purpose of constructor is initializing the object with default values.
Category:Core Java Interview Questions

No comments:

Post a Comment