Does Java offer any support for optional/default parameters?
Joined: Mar 22, 2001
Hi! I was wondering if Java had any method for supporting optional parameters? I know about the ability to overload, but is there any default value methodology, outright optional parameter syntax, etc.? Thanks in advance! -MLA
Sun Certified Programmer for the Java 2 Platform 1.4
Joined: Jun 13, 2000
Only overloading. Java didn't have default parameters like VB and some other languages. You can mimic it using :
------------------ Hope This Helps Carl Trusiak, SCJP2 [This message has been edited by Carl Trusiak (edited May 25, 2001).]