View Single Post
  #4 (permalink)  
Old 01-02-2008, 09:48 PM
roots's Avatar
roots roots is offline
Moderator
 
Join Date: Jan 2008
Location: Dallas
Posts: 286
roots is on a distinguished road
Quote:
Originally Posted by eva View Post
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?

Code:
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 ..
__________________
dont worry newbie, we got you covered.
Reply With Quote