Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 06 Oct 2011 09:49:47 -0500 Date: Thu, 06 Oct 2011 07:49:46 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: DataInputStream References: <1418dd7f-d5d1-4a2c-b77b-87666f6a9591@k15g2000yqd.googlegroups.com> <9f2a8cFh1nU1@mid.individual.net> <6cf66421-77a9-4088-b810-3bcc958cc8ca@i28g2000yqn.googlegroups.com> <2ec7550a-a3d9-40a9-bca1-e1fd2586429d@g33g2000yqc.googlegroups.com> <02b9b80f-ff02-499d-8f33-056080b114bb@s9g2000yql.googlegroups.com> <64b13101-4846-42d7-bc75-458eb326f73f@n8g2000yqd.googlegroups.com> <20878450.465.1317851548409.JavaMail.geo-discussion-forums@prcs9> <356220fa-e842-4ba0-9f63-d66f80c2262a@n15g2000vbn.googlegroups.com> <10426412.443.1317910089121.JavaMail.geo-discussion-forums@prmr13> In-Reply-To: <10426412.443.1317910089121.JavaMail.geo-discussion-forums@prmr13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 22 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.200.54 X-Trace: sv3-jwTqjVHMoG3kjdYtPrQXG+WIM68WXQaFtSCOEfzz8SNmZkUIaOHz8AZvQRhpid8XdtTIZNCI7gnY+eG!VcL8iOfIURvpXTG4xHos+7dCCw2MMSXKgxLAh3wJ/MZLZhIe0qizUiEisTSMKCCy8g0wyzqlvXC7!yyRrMAlAY6DVDrBqHShaoxCdcZEU8oRqWVw0d2AuE7/ySQ== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2483 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8597 On 10/6/2011 7:08 AM, Lew wrote: ... > But do feel free to use the term "reference", which in Java's > nomenclature is exactly equivalent to "pointer". > > The key feature of a pointer is that it points to something. The > ability to alias pointer types (e.g., 'byte' array to 'float' array), > perform pointer arithmetic or to point to invalid memory are not > essential to the definition of "pointer". ... According to the JLS, "The reference values (often just references) are pointers to these objects, and a special null reference, which refers to no object." That is, a pointer always points to something. A reference may be null, in which case it does not point to anything and therefore is not a pointer. <\pedant> Patricia