Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36177
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2017-01-08 19:12 -0800 |
| References | <ebaa620e-2ecc-429c-9a6e-f71fd3e9c945@googlegroups.com> |
| Message-ID | <31880009-63f0-48cf-9062-ec4e2aa90565@googlegroups.com> (permalink) |
| Subject | Re: Where am i going wrong |
| From | Davej <galt_57@hotmail.com> |
On Sunday, January 8, 2017 at 7:37:15 PM UTC-6, SuperGiirl wrote: > [...] Obviously you have a problem with your variable naming. Do you understand what you are doing? You can name a passed parameter and the instance variable the same if you use the prefix "this" to distinguish between them, as Arne demonstrates. You might want to review the online tutorial... http://docs.oracle.com/javase/tutorial/java/javaOO/thiskey.html http://docs.oracle.com/javase/tutorial/java/javaOO/classes.html
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Where am i going wrong SuperGiirl <kainattshafiq90@gmail.com> - 2017-01-08 17:37 -0800 Re: Where am i going wrong Arne Vajhøj <arne@vajhoej.dk> - 2017-01-08 21:20 -0500 Re: Where am i going wrong Davej <galt_57@hotmail.com> - 2017-01-08 19:12 -0800
csiph-web