我们可以将对象作为参数传递给方法 [英] can we pass objects as argument to a method
本文介绍了我们可以将对象作为参数传递给方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果你知道
推荐答案
请回答这个问题嘿那里,
答案是肯定的,这里有关于Java方法的更多信息,请阅读:
http://www.cs.utoronto.ca/~dianeh/tutorials/params/ [ ^ ]
Azee ...
Hey there,
Answer is yes, here is a little more info about Java methods, give it a read:
http://www.cs.utoronto.ca/~dianeh/tutorials/params/[^]
Azee...
是的,你可以。任何对象。如果不是这样,您认为Java可能如何运作? :-)
-SA
Yes, you can. Any object. If it wasn't the case, how do you think Java could possibly work? :-)
—SA
这篇关于我们可以将对象作为参数传递给方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文