I deleted many of the posts in this
thread because we don't want to
give a student the answer, we want to
help him find the correct package and class by providing information on
how he can find that for himself.
You have a point, Ulf. Let me clarify my statement. The java.lang package is available for developers to use without adding import statements to the code. Classes in other packages in the j2sdk do not require a separate jar, but they do need to be imported.
We are looking for a class in this assignment is not in the java.lang package, and primitives (int, long, float or double) are not classes.
Tony, do you have the
Just Java 2 book? If so, you can find a hint in the chapter on Names, Operators and Accuracy.
[ March 17, 2007: Message edited by: Marilyn de Queiroz ]