Wednesday, May 14, 2008

Difference between constructors and other methods


Two major differences: One, constructors must have same name as the class and can’t have any return type. Two, constructors are called only once, while other methods can be called multiple times.



Share/Save/Bookmark


No comments: