Wednesday, May 14, 2008

How do you call a constructor from another?


By using ‘this()’ syntax. Just specify the corresponding parameters to ‘this(…)’ to call the particular constructor.



Share/Save/Bookmark


No comments: