Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34119
| From | Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: What does keyword 'this' refer to in the following code? |
| Organization | N/A |
| References | <2a655d5f-3df0-4bf2-a2bc-4b70406d7ab2@googlegroups.com> <39484e69-456f-449d-9c2d-0978ea711b1e@googlegroups.com> <67585c09-1a90-49c6-a78a-a20628965620@googlegroups.com> <c39d6983-ce6a-48f5-bd9b-862d0c54b468@googlegroups.com> <f7f0207d-dddb-45e3-bf49-c993416e41cd@googlegroups.com> |
| Message-ID | <lv7fg1sy04.fsf@saunalahti.fi> (permalink) |
| Date | 2016-04-13 11:39 +0300 |
cdalten@gmail.com writes:
> On Tuesday, April 12, 2016 at 2:04:16 PM UTC-7, Lew wrote:
>> On Tuesday, April 12, 2016 at 8:28:33 AM UTC-7, cda...@gmail.com wrote:
>> > I think the keyword super is what threw me off.
>> protected void onCreate(Bundle savedInstanceState) {
>> super.onCreate(savedInstanceState);
> For whatever reasons, I thought the keyword super impacted what 'this'
> refers to.
It just makes the onCreate method first execute the onCreate method of
the superclass before doing the rest of its business.
--
Jukka Lahtinen
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What does keyword 'this' refer to in the following code? cdalten@gmail.com - 2016-04-11 21:44 -0700
Re: What does keyword 'this' refer to in the following code? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2016-04-12 12:16 +0300
Re: What does keyword 'this' refer to in the following code? Eric Douglas <e.d.programmer@gmail.com> - 2016-04-12 04:57 -0700
Re: What does keyword 'this' refer to in the following code? cdalten@gmail.com - 2016-04-12 08:28 -0700
Re: What does keyword 'this' refer to in the following code? Lew <lewbloch@gmail.com> - 2016-04-12 14:03 -0700
Re: What does keyword 'this' refer to in the following code? cdalten@gmail.com - 2016-04-12 18:23 -0700
Re: What does keyword 'this' refer to in the following code? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2016-04-13 11:39 +0300
Re: What does keyword 'this' refer to in the following code? Eric Douglas <e.d.programmer@gmail.com> - 2016-04-13 05:07 -0700
Re: What does keyword 'this' refer to in the following code? Jeff Higgins <jeff@invalid.invalid> - 2016-04-12 22:00 +0000
Re: What does keyword 'this' refer to in the following code? cdalten@gmail.com - 2016-04-12 20:03 -0700
Re: What does keyword 'this' refer to in the following code? cdalten@gmail.com - 2016-04-12 21:01 -0700
Re: What does keyword 'this' refer to in the following code? Lars Enderin <lars.enderin@telia.com> - 2016-04-13 10:58 +0200
Re: What does keyword 'this' refer to in the following code? Eric Douglas <e.d.programmer@gmail.com> - 2016-04-13 05:12 -0700
csiph-web