Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: A question about a few variables in a class Date: Sat, 13 Aug 2011 20:49:25 -0400 Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <8ff5e4fa-84c5-4d4a-97e8-0b2f3f5b0dc4@m5g2000prh.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 14 Aug 2011 00:49:28 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="f8igmItKsWs6nM5YanFxAA"; logging-data="23215"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bSmxe1u6T4gTN+CShHpkz" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <8ff5e4fa-84c5-4d4a-97e8-0b2f3f5b0dc4@m5g2000prh.googlegroups.com> Cancel-Lock: sha1:/DUiy4ztzj6XgUuYUvt11hO2dOM= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7095 On 8/13/2011 1:30 PM, Chad wrote: > On Aug 6, 4:56 am, Eric Sosman wrote: >>[...] >> We don't actually know what Rectangle is because there are no >> import statements to tell us what package it's in. It clearly >> cannot be java.awt.Rectangle, which has public width and height >> members but which has no getArea() and no suitable constructor. > > Aye. I broke away from my own personal rule of posting code snippets. > I should know better since it really annoys me when people post code > snippets on comp.lang.c, and then, like magic, expect the group to be > able to magically interpet their line of thought. Just out of curiosity, what *is* the `Rectangle' you used? -- Eric Sosman esosman@ieee-dot-org.invalid