This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
What are the rules for using 'super' keyword ?
Joined: Mar 16, 2011
Aug 14, 2012 10:15:23
What are the rules/restructions/scenarios for how & where we can and cannot use the 'super' keyword.
Joined: Dec 19, 2011
Aug 14, 2012 11:16:11
super.<method_Name>() is used to call a method of super class.
super keyword can be use to call the constructor of the superclass in the base class.
super keyword can not be used inside static methods.
Thanks and Regards
subject: What are the rules for using 'super' keyword ?
how can we access a method from sub class from its super class?
Problems in Inheritence
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015