can we convert com.mathwo​rks.toolbo​x.javabuil​der.MWArra​y to java.lang.object?

回答(2 个)

Every Java object, whatever its class is, is also automatically a java.lang.Object, since Object is the top superclass of all Java classes.
Hi,
this is a rather general question, so here a rather general answer: you might want to take a look at the toArray method ( http://www.mathworks.de/help/toolbox/javabuilder/MWArrayAPI/index.html).
Titus

类别

帮助中心File Exchange 中查找有关 Java Package Integration 的更多信息

提问:

2012-8-6

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by