From Documentation
Revision as of 12:16, 26 October 2017 by Robertwenzel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Object new2(Object cls, Object arg1, Object arg2);
i.e., CommonFns.new_(Object, Object, Object)

Instantiates the given class with two arguments. It assumes the given class has a proper constructor.


  • 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 : 2017/10/26

Version Date Content

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.