Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我们将 Object[] 传递给方法时,我们实际上是复制包含的对象还是只是将引用数组传递给这些对象?
您只是传递对数组的引用。数组和其中的任何对象都不会被复制。