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…') |
Robertwenzel (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
Instantiates the given class with two arguments. It assumes the given class has a proper constructor. | Instantiates the given class with two arguments. It assumes the given class has a proper constructor. | ||
− | ''' | + | '''Parameters''' |
* cls - the class. It could be an instance of either String or Class. | * cls - the class. It could be an instance of either String or Class. | ||
* arg1 - the first argument to be passed to the constructor. | * arg1 - the first argument to be passed to the constructor. | ||
Line 15: | Line 15: | ||
=Version History= | =Version History= | ||
− | + | {{LastUpdated}} | |
{| border='1px' | width="100%" | {| border='1px' | width="100%" | ||
! Version !! Date !! Content | ! Version !! Date !! Content |
Latest revision as of 12:16, 26 October 2017
Object new2(Object cls, Object arg1, Object arg2);
Instantiates the given class with two arguments. It assumes the given class has a proper constructor.
Parameters
- 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
Version | Date | Content |
---|---|---|