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.
-Constuctor can be of the same name as class.
No comments:
Post a Comment