Saturday 31 August 2013

What is constructor in java?

Constructor can be defined as the methods but it is quite different from the method. These points can be justify that constructor are different from methods
-Constuctor can be of the same name as class.

No comments:

Post a Comment