Originally Posted by
eva
I tried to override an abstract method in a child class but complier complains and does not allow me to do this. Is it a rule or I am making some mistake?
public class Jupiter
{
public static void extractUsers() {
}
}
public class Moon extends Jupiter
{
public void extractUsers() {
}
}
- PEACE
Method in Moon is hiding the
static in implementation that is illegal. Try again with static in the extract user .. hope it helps .. tim is right for the abstract thing ..