Say I have a class B that extends class A. In class A, I have a variable that I’ve declared to be a function, which gets defined in the constructor. Now, in class B, is there any way to reference that function with the use of super.functionName()?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Extending classes | 0 | 42 | February 22, 2008 | |
Why super() can be used in Constructor only? | 9 | 92 | July 5, 2008 | |
SubClass Variables | 0 | 46 | May 9, 2007 | |
Class and inheritage | 0 | 43 | June 29, 2007 | |
Calling functions within a class to get the var's in that class
|
0 | 81 | April 12, 2005 |