Posted By:
Anonymous
Posted On:
Sunday, November 11, 2001 10:24 PM
Hi,
Wrap the primitive data types into their corresponding objects.
Object Constructor::newInstance(object[]);
This is what the api docs say,
If the corresponding formal parameter has a primitive type, an unwrapping conversion is attempted to convert the object value to a value of the primitive type.
If this attempt fails, the creation throws an IllegalArgumentException.
If, after possible unwrapping, the parameter value cannot be converted to the corresponding formal parameter type
by a method invocation conversion, the creation throws an IllegalArgumentException.
~vivek