new2"
From Documentation
(Created page with '{{ZUMLReferencePageHeader}} <source lang="java"> Object new2(Object cls, Object arg1, Object arg2); </source> :i.e., <javadoc method="new_(java.lang.Object, java.lang.Object, j…') |
(No difference)
|
Revision as of 07:42, 16 November 2010
Object new2(Object cls, Object arg1, Object arg2);
Instantiates the given class with two arguments. It assumes the given class has a proper constructor.
Paramters
- cls - the class. It could be an instance of either String or Class.
- arg1 - the first argument to be passed to the constructor.
- arg2 - the second argument to be passed to the constructor.
Version History
Last Update : 2010/11/16
Version | Date | Content |
---|---|---|