Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [XP] Inheritance
#13
Sorry if I cut in without reading the whole thread. I'm answering to the initial question here. When an inherited class defines a method that exists in the base class, it can use the reserved word super to call the base class version of the method. Aliasing isn't necessary if you can use this technique in your code.
[Image: f7d70f7d-d21f-470a-b93d-fa23cfcfaeb5_zpsfe7368c0.png] [Image: facebook_icon.png] [Image: youtube_128x128-120x120.png] [Image: deviant.png] [Image: save-point.png]
Reply }


Messages In This Thread
[XP] Inheritance - by xuroth - 03-02-2011, 07:03 PM
RE: [XP] Inheritance - by DerVVulfman - 03-02-2011, 10:35 PM
RE: [XP] Inheritance - by xuroth - 03-03-2011, 08:33 AM
RE: [XP] Inheritance - by DerVVulfman - 03-04-2011, 05:49 AM
RE: [XP] Inheritance - by xuroth - 03-08-2011, 04:24 AM
RE: [XP] Inheritance - by DerVVulfman - 03-08-2011, 04:42 AM
RE: [XP] Inheritance - by xuroth - 03-08-2011, 05:35 AM
RE: [XP] Inheritance - by DerVVulfman - 03-08-2011, 05:45 AM
RE: [XP] Inheritance - by xuroth - 03-08-2011, 05:55 AM
RE: [XP] Inheritance - by DerVVulfman - 03-08-2011, 06:10 AM
RE: [XP] Inheritance - by xuroth - 03-08-2011, 06:30 AM
RE: [XP] Inheritance - by DerVVulfman - 03-08-2011, 06:52 AM
RE: [XP] Inheritance - by Charlie Fleed - 03-08-2011, 08:23 AM
RE: [XP] Inheritance - by xuroth - 03-08-2011, 05:19 PM
RE: [XP] Inheritance - by xuroth - 03-09-2011, 03:25 PM
RE: [XP] Inheritance - by DerVVulfman - 03-10-2011, 05:17 AM
RE: [XP] Inheritance - by xuroth - 03-11-2011, 03:21 AM
RE: [XP] Inheritance - by DerVVulfman - 03-11-2011, 04:41 AM
RE: [XP] Inheritance - by Victor Sant - 03-12-2011, 09:36 PM
RE: [XP] Inheritance - by DerVVulfman - 03-13-2011, 04:24 AM



Users browsing this thread: