Need to override static method...
807605Aug 6 2007 — edited Aug 6 2007Hi,
I have the following class:
Class BaseClass {
public static void methodA () {
.
.
tempInt = method1();
.
.
}
protected static int method1() {
.
.
}
}
In the above class, note that both the methods are 'static'.
I want to override "method1()" so that from "methodA()", the overridden method "methodA()" is called instead of base class's.
Is there some way I can achieve this?
Thanks,
Sandeep