Create a Java object of class classsname, by calling the class constructor with the arguments arg1, …
The first example below creates an uninitialized object, while the second example supplies an initial argument to the constructor.
x = javaObject ("java.lang.StringBuffer") x = javaObject ("java.lang.StringBuffer", "Initial string")
See also: javaMethod, javaArray.
Package: octave