Is HashMap a special class ?! Can't compile !

Hello,

I'm trying to compile FruitMap.java, which code is :

public class FruitMap extends java.util.HashMap{

}

...thanks to : javac FruitMap.java

...and i can't succed in that, even if i put a main method

public class FruitMap extends java.util.HashMap{

public static void main(String[] args){}

}

Have you an idea ?

100 thanks if you can help me.

tols@libertysurf.fr

[481 byte] By [tolsam] at [2007-9-26 22:12:36]
# 1
Put:import java.util.*;At the beginning of your code.
slyle at 2007-7-4 1:37:01 > top of Java-index,Developer Tools,Java Compiler...