Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx23.iad.POSTED!not-for-mail From: Jason S. Newsgroups: comp.lang.java.programmer Message-ID: <2014120801015257172-nothing@invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: toArray().. shallow or deep copies User-Agent: Unison/2.1.10 Lines: 6 X-Complaints-To: abuse(at)newshosting.com NNTP-Posting-Date: Mon, 08 Dec 2014 06:01:53 UTC Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com Date: Mon, 8 Dec 2014 01:01:52 -0500 X-Received-Bytes: 788 X-Received-Body-CRC: 1445351910 Xref: csiph.com comp.lang.java.programmer:30505 Question... when using the toArray() method on a Collection, are the references in the array a shallow or deep copy of the objects in the Collection? Thanks