Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Java Interface >

JavaNew

JavaNew[classname]
constructs a Java object of the specified class.
JavaNew[classname, args]
constructs a Java object of the specified class, passing the arguments args to its constructor
JavaNew[javaclass, args]
constructs a Java object of the specified JavaClass.
  • To use JavaNew, you first need to load J/Link using Needs["JLink`"].
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team