In this excerpt, Brett McLaughlin and David Flanagan cover how to create and iterate over variable-length argument lists (better known as varargs), which will have you writing better, cleaner, more flexible code in no time.
This book excerpt is from Chapter 5 of Java 1.5 Tiger: A Developer's Notebook [3], by Brett McLaughlin and David Flanagan, ISBN 0596007388, copyright 2004. All rights reserved. This chapter, titled "varargs," is posted with permission from O'Reilly Media.
We are presenting this book excerpt as a PDF download. The file size is a little under 200K. Download Chapter 5: "varargs." [4]
Links:
[1] http://www.java.net/author/brett-mclaughlin
[2] http://www.java.net/author/not-so-stupid-questions
[3] http://www.oreilly.com/catalog/javaadn/
[4] http://www.java.net/today/2004/09/30/varargs.pdf