By using ‘this()’ syntax. Just specify the corresponding parameters to ‘this(…)’ to call the particular constructor.
Wednesday, May 14, 2008
How do you call a constructor from another?
Related Articles...
Java
Trivia
- what does load-on-startup element mean in web.xml?
- What is the difference between VARCHAR and VARCHAR2?
- Why Prepared Statements are faster? Are they compiled?
- Difference between Client-side & Server-side DB cursors?
- How to invoke an Applet packaged as a JAR?
- Class variable, Member variable, and Local variable
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment