Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: A question about a few variables in a class Date: Sun, 14 Aug 2011 13:52:36 -0700 Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <8ff5e4fa-84c5-4d4a-97e8-0b2f3f5b0dc4@m5g2000prh.googlegroups.com> <9b372a01-59c9-462a-a5ca-463f3ededb9d@y19g2000pre.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 20:52:47 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="1838"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ofYHY/VkZX8ce+h8qyRp/IdFpFVg96dQ=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <9b372a01-59c9-462a-a5ca-463f3ededb9d@y19g2000pre.googlegroups.com> Cancel-Lock: sha1:s3VLvS93B1zZnF8ELiHHXILe8FU= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7114 On 8/14/2011 1:23 PM, Chad wrote: > public Rectangle1(double width, double height, String color, > boolean filled) { Method parameters. > this.width = width; > this.height = height; Instance fields on the left of the assignment. (Note "data fields" isn't used in any Java documentation I can recall.) > setColor(oolor); > setFilled(filled); Method invocation, in the super class these methods set more instance fields.